From f81ebccb6260aeefd27a620917c75d9ab971b3b4 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sat, 14 Oct 2023 17:03:33 +0800 Subject: [PATCH] docs update --- README.md | 4 ++-- docs/performance.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5febf094..1c219b01 100644 --- a/README.md +++ b/README.md @@ -143,12 +143,12 @@ Performance results for cpython 3.9 are applicable to for pkpy. See https://pocketpy.dev/performance/ for details. -These are the results of the primes benchmark, which *roughly* reflects the performance among lua, cpython and pkpy. +And these are the results of the primes benchmark on Intel i5-12400F, WSL (Ubuntu 20.04 LTS), which *roughly* reflects the performance among lua, pkpy and cpython. | name | version | time | file | | ---- | ---- | ---- | ---- | | lua | 5.3.3 | `1.576s ■■■■■■■■■□□□□□□□` | [benchmarks/primes.lua](https://github.com/blueloveTH/pocketpy/blob/3d332a694f99ae2d327e732e7f3e3215bedcb069/benchmarks/primes.lua) | -| pocketpy | 1.2.7 | `2.385s ■■■■■■■■■■■■■□□□` | [benchmarks/primes.py](https://github.com/blueloveTH/pocketpy/blob/3d332a694f99ae2d327e732e7f3e3215bedcb069/benchmarks/primes.py) | +| pkpy | 1.2.7 | `2.385s ■■■■■■■■■■■■■□□□` | [benchmarks/primes.py](https://github.com/blueloveTH/pocketpy/blob/3d332a694f99ae2d327e732e7f3e3215bedcb069/benchmarks/primes.py) | | cpython | 3.8.10 | `2.871s ■■■■■■■■■■■■■■■■` | [benchmarks/primes.py](https://github.com/blueloveTH/pocketpy/blob/3d332a694f99ae2d327e732e7f3e3215bedcb069/benchmarks/primes.py) | ## Used By diff --git a/docs/performance.md b/docs/performance.md index afea4871..175ab040 100644 --- a/docs/performance.md +++ b/docs/performance.md @@ -130,12 +130,12 @@ See [actions/runs](https://github.com/blueloveTH/pocketpy/actions/runs/651107142 ## Primes benchmarks -These are the results of the primes benchmark. +These are the results of the primes benchmark on Intel i5-12400F, WSL (Ubuntu 20.04 LTS). | name | version | time | file | | ---- | ---- | ---- | ---- | | lua | 5.3.3 | `1.576s ■■■■■■■■■□□□□□□□` | [benchmarks/primes.lua](https://github.com/blueloveTH/pocketpy/blob/3d332a694f99ae2d327e732e7f3e3215bedcb069/benchmarks/primes.lua) | -| pocketpy | 1.2.7 | `2.385s ■■■■■■■■■■■■■□□□` | [benchmarks/primes.py](https://github.com/blueloveTH/pocketpy/blob/3d332a694f99ae2d327e732e7f3e3215bedcb069/benchmarks/primes.py) | +| pkpy | 1.2.7 | `2.385s ■■■■■■■■■■■■■□□□` | [benchmarks/primes.py](https://github.com/blueloveTH/pocketpy/blob/3d332a694f99ae2d327e732e7f3e3215bedcb069/benchmarks/primes.py) | | cpython | 3.8.10 | `2.871s ■■■■■■■■■■■■■■■■` | [benchmarks/primes.py](https://github.com/blueloveTH/pocketpy/blob/3d332a694f99ae2d327e732e7f3e3215bedcb069/benchmarks/primes.py) | ```sh