"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/second Hee hee :-) D:\python>python Lib/test/pystone.py Pystone(1.1) time for 10000 passes = 1.92135 This machine benchmarks at 5204.66 pystones/second D:\python>cd \python16 D:\Python16>python Lib/test/pystone.py Pystone(1.1) time for 10000 passes = 2.06234 This machine benchmarks at 4848.86 pystones/second D:\Python16>cd \python\spc D:\python\spc>python Lib/test/pystone.py python: can't open file 'Lib/test/pystone.py' D:\python\spc>python ../Lib/test/pystone.py Pystone(1.1) time for 10000 passes = 1.81034 This machine benchmarks at 5523.82 pystones/second More 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, and I worked around it already. ciao - chris -- Christian Tismer :^) <mailto:tismer@appliedbiometrics.com> Applied Biometrics GmbH : Have a break! Take a ride on Python's Kaunstr. 26 : *Starship* http://starship.python.net 14163 Berlin : PGP key -> http://wwwkeys.pgp.net PGP Fingerprint E182 71C7 1A9D 66E9 9D15 D3CC D4D7 93E2 1FAE F6DF where do you want to jump today? http://www.stackless.com
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4