[Python-Dev] Profile Guided Optimization active by-default

Eric Snow ericsnowcurrently at gmail.com
Sat Aug 22 19:25:59 CEST 2015

On Aug 22, 2015 9:02 AM, "Patrascu, Alecsandru" <
alecsandru.patrascu at intel.com> wrote:
> For instance, as shown from attached sample performance results from the
Grand Unified Python Benchmark, >20% speed up was observed.

Are you referring to the tests in the benchmarks repo? [1]

How does the real-world performance improvement compare with other
languages you are targeting for optimization?

And thanks for working on this!  I have several more questions:

What sorts of future changes in CPython's code might interfere with your

What future additions might stand to benefit?

What changes in existing code might improve optimization opportunities?

What is the added maintenance burden of the optimizations on CPython, if

What is the performance impact on non-Intel architectures?  What about
older Intel architectures?  ...and future ones?

What is Intel's commitment to supporting these (or other) optimizations in
the future?  How is the practical EOL of the optimizations managed?

Finally, +1 on adding an opt-in Makefile target rather than enabling the
optimizations by default.

Thanks again!


[1] https://hg.python.org/benchmarks/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150822/a189a6d8/attachment.html>

More information about the Python-Dev mailing list