[docs] [issue24318] Better documentaiton of profile-opt (and release builds in general?)

Gregory P. Smith report at bugs.python.org
Thu Apr 19 11:47:36 EDT 2018


Gregory P. Smith <greg at krypto.org> added the comment:

FYI - The test suite minus some of the crazier tests (multiprocessing) that the makefile uses today is the recommended workload and is effectively what linux distros I've looked at use.

It is a myth that the specific application workload matters a great deal for building a Python PGO interpreter.  The layer of indirection provided by an interpreter makes it easier.  All you really need is code that exercises the major important C speed paths.  The eval loop, unicode internals, long bignum internals, marshal, re, pickle, json, xml, and cdecimal are all well exercised by running the test suite.

A specific Python application's actual logic is not going to exercise the internals of those in a meaningfully different manner.

Performance experiments bear this out.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24318>
_______________________________________


More information about the docs mailing list