[issue24318] Make profile-opt the default Make target?
Gregory P. Smith added the comment: Also FWIW, I setup a buildbot earlier this year building in profile-opt mode. -- ___ 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
[issue24318] Make profile-opt the default Make target?
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
[issue24318] Make profile-opt the default Make target?
New submission from Skip Montanaro: In a discussion on python-ideas about some computed goto stuff, Greg Smith brought up compilation with profile-opt, which I'd never heard of. I asked Greg about it and he enlightened me. Looking around, I saw no mention of this make target except in the Makefile itself, and a small what's new note for Python 2.6. I was only looking on the 2.7 branch, but aside from a bug fix mention in Misc/NEWS for Python 3.4, it doesn't seem to feature more prominently there. It would seem to be stable. Should it perhaps be the default when available (presuming the proper configure tests can be written)? Alternatively, it could be featured more prominently in the build instructions. I've attached a simple patch to README for that. -- components: Build files: README.diff keywords: easy, patch messages: 244317 nosy: skip.montanaro priority: normal severity: normal status: open title: Make profile-opt the default Make target? versions: Python 2.7, Python 3.6 Added file: http://bugs.python.org/file39537/README.diff ___ 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