forked from python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-89792: Limit test_tools freeze test build parallelism based …
…on the number of cores (python#101841) unhardcode freeze test build parallelism. base it on the number of cpus, don't use more than max(2, os.cpu_count()/3).
- Loading branch information
Showing
2 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
7 changes: 4 additions & 3 deletions
7
Misc/NEWS.d/next/Tests/2023-02-11-20-28-08.gh-issue-89792.S-Y5BZ.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
``test_tools`` now copies up to 10x less source data to a temporary | ||
directory during the ``freeze`` test by ignoring git metadata and other | ||
artifacts. | ||
``test_tools`` now copies up to 10x less source data to a temporary directory | ||
during the ``freeze`` test by ignoring git metadata and other artifacts. It | ||
also limits its python build parallelism based on os.cpu_count instead of hard | ||
coding it as 8 cores. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters