<div dir="ltr">I've personally never seen a situation where PGO is not desired yet some other fancier optimization such as LTO is. When do you encounter people wanting that?  PGO always produces a 10-20% faster CPython interpreter.<div><br></div><div>I have no problem with patches enabling an LTO only build for anyone who wants one if they do not already exist.  At the moment I'm not sure which LTO toolchains actually work properly.  We removed it from inclusion in --enable-optimizations because it was clearly broken in some common environments.</div><div><br></div><div>If LTO without PGO is useful, making it work is probably just a matter of making sure @LTOFLAGS@ show up on the non-PGO related <a href="http://Makefile.pre.in">Makefile.pre.in</a> targets as well as updating the help text for --with-lto in <a href="http://configure.ac">configure.ac</a>.  [untested]</div><div><br></div><div>-gps</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Aug 7, 2017 at 12:00 PM Soldea, Octavian <<a href="mailto:octavian.soldea@intel.com">octavian.soldea@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_-4168110342031542627WordSection1">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hello<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">This is my first post after I just have subscribed to the Python-Dev mailing list. In this context, the welcome confirmation message suggested to introduce myself.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">My name is Octavian Soldea and I am with the Python optimization team in DSLOT group in Intel, Santa Clara, California. In the past I have received a PhD in Computer Science from the Technion, Israel Institute of Technology in Computer
 Vision.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I would like to ask regarding the possibility of compiling Python with lto only. My question is if is the community interested to enable the possibility of compiling Python with lto only, i.e. without pgo? I have followed
<u></u><u></u></p>
<p class="MsoNormal"><a href="https://bugs.python.org/issue29243" target="_blank">https://bugs.python.org/issue29243</a><u></u><u></u></p>
<p class="MsoNormal">and<u></u><u></u></p>
<p class="MsoNormal"><a href="https://bugs.python.org/issue29641" target="_blank">https://bugs.python.org/issue29641</a><u></u><u></u></p>
<p class="MsoNormal">however, it is not clear if the separate compilation is already implemented. In my opinion this is a good option since pgo is not always desired.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Best regards,<u></u><u></u></p>
<p class="MsoNormal">  Octavian<u></u><u></u></p>
</div>
</div>

_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/greg%40krypto.org" rel="noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/greg%40krypto.org</a><br>
</blockquote></div>