]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36044: Reduce number of unit tests run for PGO build (GH-14702)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 22 Jul 2019 20:17:23 +0000 (13:17 -0700)
committerGitHub <noreply@github.com>
Mon, 22 Jul 2019 20:17:23 +0000 (13:17 -0700)
commit2406672984e4c1b18629e615edad52928a72ffcc
treed29ab852958b125ff79525e23f36604a9fb3aaa2
parent5b398520a8ff397b5a7cc28851a582faaa5ee492
bpo-36044: Reduce number of unit tests run for PGO build (GH-14702)

Reduce the number of unit tests run for the PGO generation task.  This
speeds up the task by a factor of about 15x.  Running the full unit test
suite is slow.  This change may result in a slightly less optimized build
since not as many code branches will be executed.  If you are willing to
wait for the much slower build, the old behavior can be restored using
'./configure [..] PROFILE_TASK="-m test --pgo-extended"'.  We make no
guarantees as to which PGO task set produces a faster build.  Users who
care should run their own relevant benchmarks as results can depend on
the environment, workload, and compiler tool chain.
(cherry picked from commit 4e16a4a3112161a5c6981c0588142d4a4673a934)

Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Lib/test/libregrtest/cmdline.py
Lib/test/libregrtest/main.py
Lib/test/libregrtest/pgo.py [new file with mode: 0644]
Makefile.pre.in
Misc/NEWS.d/next/Build/2019-07-11-01-28-24.bpo-36044.gIgfiJ.rst [new file with mode: 0644]
configure
configure.ac