Author lemburg
Recipients arigo, lemburg, pitrou
Date 2008-12-27.13:21:06
SpamBayes Score 1.65036e-06
Marked as misclassified No
Message-id <49562BC1.5070709@egenix.com>
In-reply-to <1230325778.98.0.752974375077.issue4753@psf.upfronthosting.co.za>
Content
On 2008-12-26 22:09, Antoine Pitrou wrote:
> This patch implements what is usually called "threaded code" for the
> ceval loop on compilers which support it (only gcc). The idea is that
> there is a separate opcode dispatch epilog at the end of each opcode,
> which allows the CPU to make much better use of its branch prediction
> capabilities. The net result is a 15-20% average speedup on pybench and
> pystone, with higher speedups on very tight loops (see below for the
> full pybench result chart).

Now I know why you want opcode stats in pybench :-)

This looks like a promising approach. Is is possible to backport
this change to Python 2.x as well ?
History
Date User Action Args
2008-12-27 13:21:08lemburgsetrecipients: + lemburg, arigo, pitrou
2008-12-27 13:21:07lemburglinkissue4753 messages
2008-12-27 13:21:06lemburgcreate