[Python-Dev] 1.6 speed

Christian Tismer tismer@trixie.triqs.com
Mon, 24 Apr 2000 00:45:12 +0200


Ack, sorry.
Please drop the last message.
This one was done with the correct dictionaries.
:-()

Christian Tismer wrote:
> 
> "A.M. Kuchling" wrote:
> >
> > Python 1.6a2 is around 10% slower than 1.5 on pystone.
> > Any idea why?
> 
> I submitted a comparison with Stackless Python.
> Now I actually applied the Stackless Python patches
> to the current CVS version.
> 
> My version does again show up as faster than standard Python,
> with the same relative measures, but I too have this effect:
> 
> Stackless 1.5.2+ is 10 percent faster than Stackless 1.6a2.
> 
> Claim:
> This is not related to ceval.c .
> Something else must have introduced a significant speed loss.
> 
> Stackless Python, upon the pre-unicode tag version of CVS:
> 
> D:\python\spc>python ../lib/test/pystone.py
> Pystone(1.1) time for 10000 passes = 1.80724
> This machine benchmarks at 5533.29 pystones/second
> 
> Stackless Python, upon the recent version of CVS:
> 
this one corrected:

D:\python\spc\Python-slp\PCbuild>python ../lib/test/pystone.py
Pystone(1.1) time for 10000 passes = 1.98433
This machine benchmarks at 5039.49 pystones/second

> Less than 10 percent, but bad enough.

It is 10 percent, and bad enough.

> 
> I guess we have to use MAL's test suite and measure everything
> alone.
> 
> 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
> 
> _______________________________________________
> Python-Dev mailing list
> Python-Dev@python.org
> http://www.python.org/mailman/listinfo/python-dev

-- 
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