This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients alex, amaury.forgeotdarc, benrg, brian.curtin, eric.araujo, georg.brandl, ishimoto, jackdied, loewis, meador.inge, mrabarnett, ncoghlan, pitrou, r.david.murray, rhettinger, skrah, terry.reedy, tim.golden, vstinner
Date 2012-07-31.07:38:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20120731093843.Horde.ErSeaqGZi1VQF4uDw3BWu8A@webmail.df.eu>
In-reply-to <1343705273.92.0.39596364479.issue8847@psf.upfronthosting.co.za>
Content
> Do we even use PGO to the fullest extent?  Does someone actually build an
> instrumented Python, run training inputs on it, and then rebuild with the
> training data to take advantage of the profile-guided optimizations?

Yes, I do, on every release of Python. The test set includes at the minimum
"Tools\pybench\pybench.py -n1 -C1 --with-gc". I used to also include
"Lib\test\regrtest.py". Now, some recently added tests have slowed this down
so much that this is not feasible anymore in PGI mode.

This issue wouldn't have been reported in the first place if this  
feature wasn't
used; see also msg107124.

I don't mind just not doing it anymore; it speeds up the release process.

> If not, then I doubt PGO is buying us anything anyway.

It was originally added because people reported measurable speedups when
profile-guided optimization is used, for VS 2008.

> I noticed when building with VC++ 2010 Express on the PGI/PGO builds that it
> warns about PGO not being available.  I don't know what version we build our
> Python release bits with.

I do, of course, have at least a professional edition of Visual Studio to make
the Python releases available from www.python.org. More specifically,  
my VS 2008
installation is "Professional"; my VS 2010 installation is "Ultimate".
History
Date User Action Args
2012-07-31 07:38:45loewissetrecipients: + loewis, georg.brandl, rhettinger, terry.reedy, ishimoto, amaury.forgeotdarc, ncoghlan, pitrou, vstinner, jackdied, tim.golden, eric.araujo, mrabarnett, alex, r.david.murray, brian.curtin, skrah, meador.inge, benrg
2012-07-31 07:38:44loewislinkissue8847 messages
2012-07-31 07:38:44loewiscreate