瀏覽代碼

docs update

blueloveTH 2 年之前
父節點
當前提交
f81ebccb62
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      README.md
  2. 2 2
      docs/performance.md

+ 2 - 2
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

+ 2 - 2
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