graalpy的存储库 https://github.com/oracle/graalpython/tree/graal-25.0.2 上说,它比Cpython在 pyperformance基准测试中快3倍,但是我执行一个欧拉计划的解题程序,两者差距不明显,pypy的速度快了20倍。
所以专门用pyperformance来实际测试。
-
登录python docker容器安装pyperformance包
nbs@kylin-pc:~/par/pypy3.11-v7.3.21-aarch64 sudo docker start python 输入密码 python nbs@kylin-pc:~/par/pypy3.11-v7.3.21-aarch64 sudo docker exec -it python bash
root@kylin-pc:/# cd /par
root@kylin-pc:/par# export https_proxy=http://proxy.aaa:8080/
root@kylin-pc:/par# export http_proxy=http://proxy.aaa:8080/
root@kylin-pc:/par# pip install pyperformance
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting pyperformance
Downloading https://mirrors.aliyun.com/pypi/packages/39/fc/793a5bf51635d90151c7a4c5ca8aad3fb5eef910321f7bad307314c4a857/pyperformance-1.14.0-py3-none-any.whl (9.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.1/9.1 MB 23.5 MB/s 0:00:00
Requirement already satisfied: packaging in /usr/local/lib/python3.14/site-packages (from pyperformance) (26.0)
Collecting pyperf (from pyperformance)
Downloading https://mirrors.aliyun.com/pypi/packages/91/26/f7bd5e37c254c2671f4dfff316d123eba13663bdfee941a01b09ab02d72d/pyperf-2.10.0-py3-none-any.whl (144 kB)
Collecting psutil>=5.9.0 (from pyperf->pyperformance)
Downloading https://mirrors.aliyun.com/pypi/packages/63/65/37648c0c158dc222aba51c089eb3bdfa238e621674dc42d48706e639204f/psutil-7.2.2-cp36-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (156 kB)
Installing collected packages: psutil, pyperf, pyperformance
Successfully installed psutil-7.2.2 pyperf-2.10.0 pyperformance-1.14.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.[notice] A new release of pip is available: 25.3 -> 26.0.1
[notice] To update, run: pip install --upgrade pip -
用uv工具查看可用的python版本
root@kylin-pc:/par# uv python list
cpython-3.15.0a7-linux-aarch64-gnu /root/.local/share/uv/python/cpython-3.15-linux-aarch64-gnu/bin/python3.15
cpython-3.15.0a7+freethreaded-linux-aarch64-gnu <download available>
cpython-3.14.3-linux-aarch64-gnu /usr/local/bin/python3.14
cpython-3.14.3-linux-aarch64-gnu /usr/local/bin/python3 -> python3.14
cpython-3.14.3-linux-aarch64-gnu /usr/local/bin/python -> python3
cpython-3.14.3-linux-aarch64-gnu <download available>
cpython-3.14.3+freethreaded-linux-aarch64-gnu <download available>
cpython-3.13.12-linux-aarch64-gnu <download available>
cpython-3.13.12+freethreaded-linux-aarch64-gnu <download available>
cpython-3.13.5-linux-aarch64-gnu /usr/bin/python3.13
cpython-3.13.5-linux-aarch64-gnu /usr/bin/python3 -> python3.13
cpython-3.12.13-linux-aarch64-gnu <download available>
cpython-3.11.15-linux-aarch64-gnu <download available>
cpython-3.10.20-linux-aarch64-gnu <download available>
cpython-3.9.25-linux-aarch64-gnu <download available>
cpython-3.8.20-linux-aarch64-gnu <download available>
pypy-3.11.15-linux-aarch64-gnu <download available>
pypy-3.10.16-linux-aarch64-gnu <download available>
pypy-3.9.19-linux-aarch64-gnu <download available>
pypy-3.8.16-linux-aarch64-gnu <download available>
graalpy-3.12.0-linux-aarch64-gnu <download available>
graalpy-3.11.0-linux-aarch64-gnu <download available>
graalpy-3.10.0-linux-aarch64-gnu <download available>
graalpy-3.8.5-linux-aarch64-gnu <download available> -
运行测试
--python参数直接写python3.14报错root@kylin-pc:/par# pyperformance run --python=python3.14 -o py314.json
Python benchmark suite 1.14.0Traceback (most recent call last):
File "/usr/local/bin/pyperformance", line 7, in <module>
sys.exit(main())
~~~~^^
File "/usr/local/lib/python3.14/site-packages/pyperformance/cli.py", line 422, in main
_main()
~~~~~^^
File "/usr/local/lib/python3.14/site-packages/pyperformance/cli.py", line 406, in _main
cmd_run(options, benchmarks)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/pyperformance/commands.py", line 181, in cmd_run
suite, errors = run_benchmarks(benchmarks, executable, options)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/pyperformance/run.py", line 78, in run_benchmarks
info = _pythoninfo.get_info(python)
File "/usr/local/lib/python3.14/site-packages/pyperformance/_pythoninfo.py", line 53, in get_info
text = subprocess.check_output(argv, encoding="utf-8")
File "/usr/local/lib/python3.14/subprocess.py", line 472, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**kwargs).stdout
^^^^^^^^^
File "/usr/local/lib/python3.14/subprocess.py", line 554, in run
with Popen(*popenargs, **kwargs) as process:
~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/subprocess.py", line 1038, in init
self._execute_child(args, executable, preexec_fn, close_fds,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pass_fds, cwd, env,
^^^^^^^^^^^^^^^^^^^
...<5 lines>...
gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^
start_new_session, process_group)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/subprocess.py", line 1874, in _execute_child
self._posix_spawn(args, executable, env, restore_signals, close_fds,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
p2cread, p2cwrite,
^^^^^^^^^^^^^^^^^^
c2pread, c2pwrite,
^^^^^^^^^^^^^^^^^^
errread, errwrite)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/subprocess.py", line 1818, in _posix_spawn
self.pid = os.posix_spawn(executable, args, env, **kwargs)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/par/python3.14'
用python3.14完整路径就能执行下去, 但是卡在pip install命令这里,连不上阿里云镜像网站。
root@kylin-pc:/par# pyperformance run --python=/usr/local/bin/python3.14 -o py314.json
Python benchmark suite 1.14.0
Creating the virtual environment /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a
# /usr/local/bin/python3.14 -m venv --without-pip /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m ensurepip -v -U
Using pip 25.3 from /tmp/tmpky_ba577/pip-25.3-py3-none-any.whl/pip (python 3.14)
Looking in links: /tmp/tmpky_ba577
Processing /tmp/tmpky_ba577/pip-25.3-py3-none-any.whl
Installing collected packages: pip
changing mode of /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/pip3 to 755
changing mode of /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/pip3.14 to 755
Successfully installed pip-25.3
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip install -U 'setuptools>=18.5' wheel
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Read timed out. (read timeout=15)")': /pypi/simple/setuptools/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Read timed out. (read timeout=15)")': /pypi/simple/setuptools/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Read timed out. (read timeout=15)")': /pypi/simple/setuptools/
^CRemove directory /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a
Benchmark suite interrupted: exit!
因为我通过代理服务器连互联网。而pyperformance安装的pip好像不能识别环境变量。其实系统自带的pip是能识别的。这一点从它能单独下载安装setuptools也得到证明。
root@kylin-pc:/par# export https_proxy=http://proxy.aaa:8080/
root@kylin-pc:/par# export http_proxy=http://proxy.aaa:8080/
root@kylin-pc:/par# pip list installed|grep tools
root@kylin-pc:/par# pip install setuptools
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting setuptools
Downloading https://mirrors.aliyun.com/pypi/packages/9d/76/f789f7a86709c6b087c5a2f52f911838cad707cc613162401badc665acfe/setuptools-82.0.1-py3-none-any.whl (1.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 11.1 MB/s 0:00:00
Installing collected packages: setuptools
Successfully installed setuptools-82.0.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[notice] A new release of pip is available: 25.3 -> 26.0.1
[notice] To update, run: pip install --upgrade pip
把环境变量写在pyperformance命令的同一行也不行。
root@kylin-pc:/par# https_proxy=http://proxy.aaa:8080/ pyperformance run --python=/usr/local/bin/python3.14 -o py314.json
Python benchmark suite 1.14.0
....
^CRemove directory /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a
Benchmark suite interrupted: exit!
查看pyperformance帮助文档 https://pyperformance.readthedocs.io/usage.html,发现有个 --inherit-environ参数,用上它就好了,剩下的步骤都自动进行。
总体上说,是为97个测试先准备环境,下载安装所需的包,
root@kylin-pc:/par# https_proxy=http://proxy.aaa:8080/ pyperformance run --python=/usr/local/bin/python3.14 -o py314.json --inherit-environ https_proxy
Python benchmark suite 1.14.0
Creating the virtual environment /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a
# /usr/local/bin/python3.14 -m venv --without-pip /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m ensurepip -v -U
Using pip 25.3 from /tmp/tmpp16w41nz/pip-25.3-py3-none-any.whl/pip (python 3.14)
Looking in links: /tmp/tmpp16w41nz
Processing /tmp/tmpp16w41nz/pip-25.3-py3-none-any.whl
Installing collected packages: pip
changing mode of /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/pip3 to 755
changing mode of /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/pip3.14 to 755
Successfully installed pip-25.3
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip install -U 'setuptools>=18.5' wheel
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting setuptools>=18.5
Using cached https://mirrors.aliyun.com/pypi/packages/9d/76/f789f7a86709c6b087c5a2f52f911838cad707cc613162401badc665acfe/setuptools-82.0.1-py3-none-any.whl (1.0 MB)
Collecting wheel
Downloading https://mirrors.aliyun.com/pypi/packages/87/22/b76d483683216dde3d67cba61fb2444be8d5be289bf628c13fc0fd90e5f9/wheel-0.46.3-py3-none-any.whl (30 kB)
Collecting packaging>=24.0 (from wheel)
Downloading https://mirrors.aliyun.com/pypi/packages/b7/b9/c538f279a4e237a006a2c98387d081e9eb060d203d8ed34467cc0f0b9b53/packaging-26.0-py3-none-any.whl (74 kB)
Installing collected packages: setuptools, packaging, wheel
Successfully installed packaging-26.0 setuptools-82.0.1 wheel-0.46.3
[notice] A new release of pip is available: 25.3 -> 26.0.1
[notice] To update, run: /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip install --upgrade pip
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip --version
pip 25.3 from /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/lib/python3.14/site-packages/pip (python 3.14)
==================================================
( 1/97) creating venv for benchmark (2to3)
(trying common venv first)
Installing requirements into the virtual environment /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip install pyperf==2.10.0
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting pyperf==2.10.0
Using cached https://mirrors.aliyun.com/pypi/packages/91/26/f7bd5e37c254c2671f4dfff316d123eba13663bdfee941a01b09ab02d72d/pyperf-2.10.0-py3-none-any.whl (144 kB)
Collecting psutil>=5.9.0 (from pyperf==2.10.0)
Using cached https://mirrors.aliyun.com/pypi/packages/63/65/37648c0c158dc222aba51c089eb3bdfa238e621674dc42d48706e639204f/psutil-7.2.2-cp36-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (156 kB)
Installing collected packages: psutil, pyperf
Successfully installed psutil-7.2.2 pyperf-2.10.0
[notice] A new release of pip is available: 25.3 -> 26.0.1
[notice] To update, run: /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip install --upgrade pip
Installing requirements into the virtual environment /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip install psutil
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Requirement already satisfied: psutil in ./venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/lib/python3.14/site-packages (7.2.2)
[notice] A new release of pip is available: 25.3 -> 26.0.1
[notice] To update, run: /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip install --upgrade pip
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip freeze
packaging==26.0
psutil==7.2.2
pyperf==2.10.0
setuptools==82.0.1
wheel==0.46.3
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip freeze
packaging==26.0
psutil==7.2.2
pyperf==2.10.0
setuptools==82.0.1
wheel==0.46.3
==================================================
( 2/97) creating venv for benchmark (argparse)
(trying common venv first)
Installing requirements into the virtual environment /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip install pyperf==2.10.0
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Requirement already satisfied: pyperf==2.10.0 in ./venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/lib/python3.14/site-packages (2.10.0)
Requirement already satisfied: psutil>=5.9.0 in ./venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/lib/python3.14/site-packages (from pyperf==2.10.0) (7.2.2)
...
==================================================
(97/97) creating venv for benchmark (xml_etree)
(trying common venv first)
Installing requirements into the virtual environment /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip install pyperf==2.10.0
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Requirement already satisfied: pyperf==2.10.0 in ./venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/lib/python3.14/site-packages (2.10.0)
Requirement already satisfied: psutil>=5.9.0 in ./venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/lib/python3.14/site-packages (from pyperf==2.10.0) (7.2.2)
[notice] A new release of pip is available: 25.3 -> 26.0.1
[notice] To update, run: /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip install --upgrade pip
Installing requirements into the virtual environment /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip install psutil
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Requirement already satisfied: psutil in ./venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/lib/python3.14/site-packages (7.2.2)
[notice] A new release of pip is available: 25.3 -> 26.0.1
[notice] To update, run: /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip install --upgrade pip
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip freeze
alabaster==0.7.16
annotated-doc==0.0.4
annotated-types==0.7.0
anyio==4.13.0
asgiref==3.3.4
babel==2.18.0
certifi==2026.2.25
Chameleon==4.6.0
charset-normalizer==3.4.6
click==8.3.1
cloudpickle==3.1.2
coverage==7.3.2
dask==2024.10.0
distributed==2024.10.0
Django==3.2.4
docutils==0.18.1
dulwich==0.20.23
fastapi==0.121.0
fsspec==2026.2.0
Genshi==0.7.7
greenlet==3.2.4
h11==0.16.0
html5lib==1.1
httpcore==1.0.9
httpx==0.28.1
idna==3.11
imagesize==2.0.0
immutabledict==4.2.2
Jinja2==3.1.6
legacy-cgi==2.6
locket==1.0.0
Mako==1.1.4
MarkupSafe==2.0.1
mpmath==1.2.1
msgpack==1.1.2
networkx==3.4.2
ordered-set==4.1.0
packaging==26.0
partd==1.4.2
psutil==7.2.2
pyaes==1.6.1
pydantic==2.12.5
pydantic_core==2.41.5
Pygments==2.19.2
pyperf==2.10.0
python-docs-theme==2024.6
pytz==2021.1
PyYAML==6.0.3
requests==2.33.0
setuptools==82.0.1
six==1.16.0
snowballstemmer==3.0.1
sortedcontainers==2.4.0
Sphinx==7.3.7
sphinxcontrib-applehelp==2.0.0
sphinxcontrib-devhelp==2.0.0
sphinxcontrib-htmlhelp==2.1.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==2.0.0
sphinxcontrib-serializinghtml==2.0.0
SQLAlchemy==1.4.19
sqlglot==4.6.0
sqlparse==0.4.1
starlette==0.49.3
sympy==1.8
tblib==3.2.2
tomli==2.0.1
toolz==1.1.0
tornado==6.5.2
typing-inspection==0.4.2
typing_extensions==4.15.0
urllib3==1.26.5
uvicorn==0.38.0
webencodings==0.5.1
websockets==11.0.3
wheel==0.46.3
xdsl==0.54.3
zict==3.0.0
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -m pip freeze
alabaster==0.7.16
annotated-doc==0.0.4
annotated-types==0.7.0
anyio==4.13.0
asgiref==3.3.4
babel==2.18.0
certifi==2026.2.25
Chameleon==4.6.0
charset-normalizer==3.4.6
click==8.3.1
cloudpickle==3.1.2
coverage==7.3.2
dask==2024.10.0
distributed==2024.10.0
Django==3.2.4
docutils==0.18.1
dulwich==0.20.23
fastapi==0.121.0
fsspec==2026.2.0
Genshi==0.7.7
greenlet==3.2.4
h11==0.16.0
html5lib==1.1
httpcore==1.0.9
httpx==0.28.1
idna==3.11
imagesize==2.0.0
immutabledict==4.2.2
Jinja2==3.1.6
legacy-cgi==2.6
locket==1.0.0
Mako==1.1.4
MarkupSafe==2.0.1
mpmath==1.2.1
msgpack==1.1.2
networkx==3.4.2
ordered-set==4.1.0
packaging==26.0
partd==1.4.2
psutil==7.2.2
pyaes==1.6.1
pydantic==2.12.5
pydantic_core==2.41.5
Pygments==2.19.2
pyperf==2.10.0
python-docs-theme==2024.6
pytz==2021.1
PyYAML==6.0.3
requests==2.33.0
setuptools==82.0.1
six==1.16.0
snowballstemmer==3.0.1
sortedcontainers==2.4.0
Sphinx==7.3.7
sphinxcontrib-applehelp==2.0.0
sphinxcontrib-devhelp==2.0.0
sphinxcontrib-htmlhelp==2.1.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==2.0.0
sphinxcontrib-serializinghtml==2.0.0
SQLAlchemy==1.4.19
sqlglot==4.6.0
sqlparse==0.4.1
starlette==0.49.3
sympy==1.8
tblib==3.2.2
tomli==2.0.1
toolz==1.1.0
tornado==6.5.2
typing-inspection==0.4.2
typing_extensions==4.15.0
urllib3==1.26.5
uvicorn==0.38.0
webencodings==0.5.1
websockets==11.0.3
wheel==0.46.3
xdsl==0.54.3
zict==3.0.0
然后依次执行97个测试。
[ 1/97] 2to3...
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -u /usr/local/lib/python3.14/site-packages/pyperformance/data-files/benchmarks/bm_2to3/run_benchmark.py --inherit-environ PYPERFORMANCE_RUNID,https_proxy --output /tmp/tmplse4po6y
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Processing /usr/local/lib/python3.14/site-packages/pyperformance/data-files/benchmarks/bm_2to3/vendor
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: lib2to3
Building wheel for lib2to3 (pyproject.toml) ... done
Created wheel for lib2to3: filename=lib2to3-3.12-py3-none-any.whl size=110876 sha256=2a38ca28caf7f536fd8e4d08ca7164b95eed95ae9ed645da93bec5725af42cf1
Stored in directory: /tmp/pip-ephem-wheel-cache-7ya24dzk/wheels/58/83/11/16d935827fe100c4adf1ea17d6a15691a6c83ec44b2b1056c8
Successfully built lib2to3
Installing collected packages: lib2to3
Successfully installed lib2to3-3.12
.....................
WARNING: the benchmark result may be unstable
* Not enough samples to get a stable result (95% certainly of less than 1% variation)
Try to rerun the benchmark with more runs, values and/or loops.
Run 'python -m pyperf system tune' command to reduce the system jitter.
Use pyperf stats, pyperf dump and pyperf hist to analyze results.
Use --quiet option to hide these warnings.
2to3: Mean +- std dev: 490 ms +- 32 ms
[ 2/97] argparse...
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -u /usr/local/lib/python3.14/site-packages/pyperformance/data-files/benchmarks/bm_argparse/run_benchmark.py many_optionals --inherit-environ PYPERFORMANCE_RUNID,https_proxy --output /tmp/tmpm9bv9gze
.....................
WARNING: the benchmark result may be unstable
* the standard deviation (119 us) is 13% of the mean (931 us)
Try to rerun the benchmark with more runs, values and/or loops.
Run 'python -m pyperf system tune' command to reduce the system jitter.
Use pyperf stats, pyperf dump and pyperf hist to analyze results.
Use --quiet option to hide these warnings.
many_optionals: Mean +- std dev: 931 us +- 119 us
[ 3/97] argparse_subparsers...
# /par/venv/cpython3.14-b46b4401a622-compat-31b33d68c68a/bin/python -u /usr/local/lib/python3.14/site-packages/pyperformance/data-files/benchmarks/bm_argparse/run_benchmark.py subparsers --inherit-environ PYPERFORMANCE_RUNID,https_proxy --output /tmp/tmpo8qnnyf8
.....................
WARNING: the benchmark result may be unstable
* Not enough samples to get a stable result (95% certainly of less than 1% variation)
Try to rerun the benchmark with more runs, values and/or loops.
Run 'python -m pyperf system tune' command to reduce the system jitter.
Use pyperf stats, pyperf dump and pyperf hist to analyze results.
Use --quiet option to hide these warnings.
subparsers: Mean +- std dev: 17.6 ms +- 1.2 ms
完整测试耗时非常长。