[Python-Dev] 3.1 performance

Christian Heimes lists at cheimes.de
Sun Mar 8 15:30:01 CET 2009


Antoine Pitrou wrote:
> Hi,
> 
> Victor Stinner <victor.stinner <at> haypocalc.com> writes:
>> Summary (minimum total) on 32 bits CPU:
>>  * Python 2.6.1: 8762 ms
>>  * Python 3.0.1: 8977 ms
>>  * Python 3.1a1: 9228 ms (slower than 3.0)
> 
> Have you compiled with or without "--with-computed-gotos"?

Why is the feature still disabled by default?

Christian

PS: Holy moly! Computed gotos totally put my Python on fire! The feature
increases the minimum run-time by approx. 25% and the average run-time
by approx. 40% on my Ubuntu 8.10 box (AMD64, Intel(R) Core(TM)2 CPU
T7600  @ 2.33GHz).
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: goto_bench.txt
URL: <http://mail.python.org/pipermail/python-dev/attachments/20090308/3b6f20ff/attachment.txt>


More information about the Python-Dev mailing list