Ok, here are my results, all python Versions supplied by Debian: [EMAIL PROTECTED]:~> python1.5 /usr/lib/python1.5/test/pystone.py Pystone(1.1) time for 10000 passes = 1.33 This machine benchmarks at 7518.8 pystones/second [EMAIL PROTECTED]:~> python2.2 /usr/lib/python1.5/test/pystone.py Pystone(1.1) time for 10000 passes = 1.03 This machine benchmarks at 9708.74 pystones/second [EMAIL PROTECTED]:~> python2.3 /usr/lib/python1.5/test/pystone.py Pystone(1.1) time for 10000 passes = 0.73 This machine benchmarks at 13698.6 pystones/second [EMAIL PROTECTED]:~> python2.4 /usr/lib/python1.5/test/pystone.py Pystone(1.1) time for 10000 passes = 0.66 This machine benchmarks at 15151.5 pystones/second
Run on a Knoppix/Debian based Duron 700 (Sony PCG-FX201 laptop). I guess there must be differences in how your pythons got compiled, even if you didn't specifies explicitly options. Andreas Am Mo, den 13.12.2004 schrieb Lucas Hofman um 17:09: > Hi, > > Just installed Python 2.4 on a machine (RH8.0 Linux) that also has python 2.3 > and python 2.2 installed. The latter came with the linux distribution, the > other > are compiled from source tarballs. > > Comparing them gives the following unexpected result: > > [EMAIL PROTECTED] test]$ /usr/bin/python pystone.py > Pystone(1.1) time for 50000 passes = 1.86 > This machine benchmarks at 26881.7 pystones/second > [EMAIL PROTECTED] test]$ /usr/local/bin/python2.3 pystone.py > Pystone(1.1) time for 50000 passes = 1.22 > This machine benchmarks at 40983.6 pystones/second > > This is ok, a 52% speed increase, but: > > [EMAIL PROTECTED] test]$ /usr/local/bin/python2.4 pystone.py > Pystone(1.1) time for 50000 passes = 1.31 > This machine benchmarks at 38167.9 pystones/second > > A 7% speed DECREASE??? According to the documentation it should be a 5% > increase? > > The machine is a 3.0 GHz Xeon box. > > Both python 2.3 and 2.4 where configure without any options. > > Anyone who understands what is going on? > > Regards, Lucas
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
-- http://mail.python.org/mailman/listinfo/python-list