ysc3839
2017-08-01 18:30:38 +08:00
> python3.exe -c "import sys; print(sys.version)"
3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)]
> python3.exe -m test.pystone 5000000
Pystone(1.2) time for 5000000 passes = 38.1625
This machine benchmarks at 131019 pystones/second
$ python3 -c "import sys; print(sys.version)"
3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609]
$ python3 -m test.pystone 5000000
Pystone(1.2) time for 5000000 passes = 36.8147
This machine benchmarks at 135815 pystones/second
确实有差距,但没那帖子那么夸张。