Python版本性能

问题描述 投票:3回答:2

哪里可以找到python版本之间的比较速度基准?

例如,2.6,2.7,3.0,3.1和3.2版本之间的性能。

python performance benchmarking versions
2个回答
2
投票

Pystone基准测试2.6,2.7,3.2:

(3.0和3.1可能是slower than 3.2)


0
投票

有一个Python模块具有各种实际性能任务来测量Python的不同版本/版本 - performance

您可以使用以下命令安装它:

pip install performance

并使用以下命令运行它以比较系统上的Python2和Python3:

pyperformance run --python=python2 -o py2.json
pyperformance run --python=python3 -o py3.json
pyperformance compare py2.json py3.json
© www.soinside.com 2019 - 2024. All rights reserved.