[issue24318] Make profile-opt the default Make target?
Gregory P. Smith
report at bugs.python.org
Thu May 28 19:42:00 CEST 2015
Gregory P. Smith added the comment:
The Makefile's default "make all" target is meant for developers and iterative development.
make profile-opt is not.
If anything, this issue should document it somewhere if we even have docs on how to make "release" builds of something. Realistically Debian already uses profile-opt for its binary builds. I _believe_ the rpm based distros do as well (but I haven't checked, someone else can confirm). Anyone else not doing so, please look at what debian does:
make profile-opt PROFILE_TASK="..."
where ... is regrtest.py given a test exclusion list of some of the longer running more annoying ones.
Not using a profile-opt builds in production is costing you ~10-40% in CPU performance. This advice applies to all programs, not only python. :)
----------
nosy: +gregory.p.smith
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24318>
_______________________________________
More information about the Python-bugs-list
mailing list