[Python-Dev] Python 3 optimizations, continued, continued again...

Mark Shannon mark at hotpy.org
Sat Jan 28 10:56:39 CET 2012


stefan brunthaler wrote:
> Hi,
> 
> On Tue, Nov 8, 2011 at 10:36, Benjamin Peterson <benjamin at python.org> wrote:
>> 2011/11/8 stefan brunthaler <s.brunthaler at uci.edu>:
>>> How does that sound?
>> I think I can hear real patches and benchmarks most clearly.
>>
> I spent the better part of my -20% time on implementing the work as
> "suggested". Please find the benchmarks attached to this email, I just

Could you try benchmarking with the "standard" benchmarks:
http://hg.python.org/benchmarks/
and see what sort of performance gains you get?

> did them on my system (i7-920, Linux 3.0.0-15, GCC 4.6.1). I branched
> off the regular 3.3a0 default tip changeset 73977 shortly after your
> email. I do not have an official patch yet, but am going to create one
> if wanted. Changes to the existing interpreter are minimal, the
> biggest chunk is a new interpreter dispatch loop.

How portable is the threaded interpreter?

Do you have a public repository for the code, so we can take a look?

Cheers,
Mark.


More information about the Python-Dev mailing list