]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-89792: Limit test_tools freeze test build parallelism based on the number of cores...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 12 Feb 2023 06:33:13 +0000 (22:33 -0800)
committerGitHub <noreply@github.com>
Sun, 12 Feb 2023 06:33:13 +0000 (22:33 -0800)
commitcec99ed1a7f76dda36816be0656e6f64e1d3ae1d
treea650afb6cd5cb80e0aa2c1bca4e0ff32910ef722
parentd17cc3dfeb9c3d0eecea4405b1ee3d9e36a7e299
gh-89792: Limit test_tools freeze test build parallelism based on the number of cores (GH-101841)

unhardcode freeze test build parallelism. base it on the number of cpus, don't use more than max(2, os.cpu_count()/3).
(cherry picked from commit dfc2e065a2e71011017077e549cd2f9bf4944c54)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Misc/NEWS.d/next/Tests/2023-02-11-20-28-08.gh-issue-89792.S-Y5BZ.rst
Tools/freeze/test/freeze.py