[Python-Dev] 2.6 rc1 performance results (original) (raw)

Jean-Paul Calderone exarkun at divmod.com
Sat Sep 13 15:39:43 CEST 2008


On Sat, 13 Sep 2008 08:03:50 -0400, "A.M. Kuchling" <amk at amk.ca> wrote:

Three weeks ago, Antoine Pitrou posted the pybench results for 2.6 trunk: http://mail.python.org/pipermail/python-dev/2008-August/081951.html

The big discovery in those results were TryExcept being 48% slower, but there was a patch in the bug tracker to improve things. I've re-run the tests to check the results. Disclaimer: these results are probably not directly comparable. Antoine was using a "32-bit Linux installation on an Athlon 3600+ X2"; I'm on a Macbook. Good news: TryExcept is now only 10% slower than 2.5, not 48%. Bad news: the big slowdowns are: CompareFloats: 117ms 98ms +19.2% 118ms 99ms +19.0% CompareIntegers: 110ms 104ms +5.6% 110ms 105ms +4.9% DictWithStringKeys: 118ms 105ms +12.8% 133ms 108ms +22.7% NestedForLoops: 125ms 116ms +7.7% 127ms 118ms +8.0% Recursion: 193ms 159ms +21.5% 197ms 163ms +20.8% SecondImport: 139ms 129ms +8.4% 143ms 130ms +9.9% SecondPackageImport: 150ms 139ms +8.6% 152ms 140ms +8.1% SecondSubmoduleImport: 211ms 191ms +10.5% 214ms 195ms +9.4% SimpleComplexArithmetic: 130ms 119ms +9.4% 131ms 120ms +9.2%

I see similar results for some of these. The complete results from a run on an AMD Athlon(tm) 64 Processor 3200+ are attached.

Jean-Paul

-------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: python-benchmark.txt URL: <http://mail.python.org/pipermail/python-dev/attachments/20080913/f3743f21/attachment.txt>



More information about the Python-Dev mailing list