[Python-Dev] Python 3.3 vs. Python 2.7 benchmark results (again, but this time more solid numbers)

Brett Cannon brett at python.org
Mon Oct 29 14:01:38 CET 2012


On Sun, Oct 28, 2012 at 3:48 PM, Tim Delaney <timothy.c.delaney at gmail.com>wrote:

> On 28 October 2012 18:22, Stefan Behnel <stefan_ml at behnel.de> wrote:
>
>> How much of an
>>
>>> effect would it have on startup times and these benchmarks if
>>> Cython-compiled extensions were used?
>>>
>>
>> Depends on what and how much code you use. If you compile everything into
>> one big module that "imports" all of the stdlib when it gets loaded, you'd
>> likely loose a lot of time because it would take a while to initialise all
>> that useless code on startup. If you keep it separate, it would likely be a
>> lot faster because you avoid the interpreter for most of the module startup.
>>
>
> I was specifically thinking in terms of the tests Brett ran (that was the
> full set on speed.python.org, wasn't it?),
>

It's not the full set as not all of them can be run on Python 3, but it is
as many as can be run.

 -Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20121029/574c879f/attachment.html>


More information about the Python-Dev mailing list