stefan brunthaler added the comment:
> Perhaps that's just me, but I find the performance gains rather limited given
> the sheer size of the changes.
Well there are a couple of things to keep in mind:
a) There is a substantial speedup potential in further interpretative
optimiz
stefan brunthaler added the comment:
While looking at the instruction frequency traces, I noticed that INPLACE_*
instructions were not quickened to optimized instruction derivatives. The
submitted patch fixes this issue and correctly generates code performing the
substitution. The
Changes by stefan brunthaler :
Added file: http://bugs.python.org/file25586/20120514-inca.patch
___
Python tracker
<http://bugs.python.org/issue14757>
___
___
Python-bug
stefan brunthaler added the comment:
So I took a close look to what the performance problem was. Many of the
benchmarks used by the perf.py py3k benchmarks use function calls for which
there are no optimized derivatives available. In this case the function trying
to do the quickening (aptly
Changes by stefan brunthaler :
Added file: http://bugs.python.org/file25543/20120510-vanilla-perf.txt
___
Python tracker
<http://bugs.python.org/issue14757>
___
___
Pytho
Changes by stefan brunthaler :
Added file: http://bugs.python.org/file25542/20120511-inca-perf.txt
___
Python tracker
<http://bugs.python.org/issue14757>
___
___
Pytho
stefan brunthaler added the comment:
This is the updated patch file that fixes the performance issues measurable
using the official perf.py py3k test suite.
--
Added file: http://bugs.python.org/file25541/20120511-inca.patch
___
Python tracker
stefan brunthaler added the comment:
> This looks quite impressive, so sorry for immediately jumping in with
> criticism. -- I've benchmarked the things I worked on, and I can't see
> any speedups but some significant slowdowns. This is on 64-bit Linux
> with a Cor
New submission from stefan brunthaler :
The attached patch adds quickening based inline caching (INCA) to the CPython
3.3 interpreter. It uses a code generator to generate instruction derivatives
using the mako template engine, and a set of utility functions to enable
automatic and safe