[Python-Dev] 3.1 performance

Hirokazu Yamamoto ocean-city at m2.ccsnet.ne.jp
Sat Mar 7 15:24:55 CET 2009


Antoine Pitrou wrote:
> Hello,
> 
> Out of curiosity, I timed running the test suite ("./python -m test.regrtest")
> in non-debug mode, in both the release30-maint and py3k branches:
> 
> * release30-maint got:
> 302 tests OK.
> [...]
> 165.79user 26.03system 5:01.75elapsed 63%CPU
> 
> * py3k got:
> 304 tests OK.
> [...]
> 113.33user 28.93system 4:06.79elapsed 57%CPU
> 
> So, 3.1 is 30% faster in user CPU time, even though it probably has more tests
> (because of io-c, ordereddict and importlib). This is on a 64-bit Linux AMD
> system, and I got similar results on a 64-bit Linux Core2 system.
> 
> Regards
> 
> Antoine.

Yes, traceback in large file is also quite fast now. Good work, io-c 
guys. :-)


More information about the Python-Dev mailing list