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 <rep...@bugs.python.org> <http://bugs.python.org/issue24318> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com