Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Re: Performance (pystone) of python 2.4 lower then python 2.3 ??? (http://www.velocityreviews.com/forums/t339376-re-performance-pystone-of-python-2-4-lower-then-python-2-3-a.html)

Andreas Kostyrka 12-17-2004 02:00 PM

Re: Performance (pystone) of python 2.4 lower then python 2.3 ???
 
Ok, here are my results, all python Versions supplied by Debian:

andreas@andi-lap:~> 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
andreas@andi-lap:~> 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
andreas@andi-lap:~> 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
andreas@andi-lap:~> 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:
>
> [lucas@oslwb03 test]$ /usr/bin/python pystone.py
> Pystone(1.1) time for 50000 passes = 1.86
> This machine benchmarks at 26881.7 pystones/second
> [lucas@oslwb03 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:
>
> lucas@oslwb03 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


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBBwuaSHJdudm4KnO0RAjcLAKC3TQrn0KqieSzGKQ5JSQ ghKCkJXQCgqueh
qHGDKlqtMrzmTfSveMbtGBY=
=36zE
-----END PGP SIGNATURE-----



All times are GMT. The time now is 01:10 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.