Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] 1.6 speed

Christian Tismertismer@tismer.com
Sun, 23 Apr 2000 04:21:47 +0200


"A.M. Kuchling" wrote:>> Python 1.6a2 is around 10% slower than 1.5 on pystone.> Any idea why?>> [amk@mira Python-1.6a2]$ ./python Lib/test/pystone.py> Pystone(1.1) time for 10000 passes = 3.59> This machine benchmarks at 2785.52 pystones/second>> [amk@mira Python-1.6a2]$ python1.5 Lib/test/pystone.py> Pystone(1.1) time for 10000 passes = 3.19> This machine benchmarks at 3134.8 pystones/secondHee hee :-)D:\python>python Lib/test/pystone.pyPystone(1.1) time for 10000 passes = 1.92135This machine benchmarks at 5204.66 pystones/secondD:\python>cd \python16D:\Python16>python Lib/test/pystone.pyPystone(1.1) time for 10000 passes = 2.06234This machine benchmarks at 4848.86 pystones/secondD:\Python16>cd \python\spcD:\python\spc>python Lib/test/pystone.pypython: can't open file 'Lib/test/pystone.py'D:\python\spc>python ../Lib/test/pystone.pyPystone(1.1) time for 10000 passes = 1.81034This machine benchmarks at 5523.82 pystones/secondMore hee hee :-)Python has been at a critical size with its main loop.The recently added extra code exceeds this size.I had the same effect with Stackless Python, andI worked around it already.ciao - chris-- Christian Tismer             :^)   <mailto:tismer@appliedbiometrics.com>Applied Biometrics GmbH      :     Have a break! Take a ride on Python'sKaunstr. 26                  :    *Starship*http://starship.python.net14163 Berlin                 :     PGP key ->http://wwwkeys.pgp.netPGP Fingerprint       E182 71C7 1A9D 66E9 9D15  D3CC D4D7 93E2 1FAE F6DF     where do you want to jump today?http://www.stackless.com


[8]ページ先頭

©2009-2025 Movatter.jp