On 25 August 2015 at 05:52, Gregory P. Smith <g...@krypto.org> wrote: > What we tested and decided to use on our own builds after benchmarking at > work was to build with: > > make profile-opt PROFILE_TASK="-m test.regrtest -w -uall,-audio -x test_gdb > test_multiprocessing" > > In general if a test is unreliable or takes an extremely long time, exclude > it for your sanity. (i'd also kick out test_subprocess on 2.7; we replaced > subprocess with subprocess32 in our build so that wasn't an issue)
Having the "production ready" make target be "make profile-opt" doesn't strike me as the most intuitive thing in the world. I agree we want the "./configure && make" sequence to be oriented towards local development builds rather than highly optimised production ones, so perhaps we could provide a "make production" target that enables PGO with an appropriate training set from regrtest, and also complains if "--with-pydebug" is configured? Regards, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com