← 返回首页
gh-89792: Limit test_tools freeze test build parallelism based on the number of cores by gpshead · Pull Request #101841 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

gh-89792: Limit test_tools freeze test build parallelism based on the number of cores#101841

Merged
gpshead merged 2 commits into
python:mainfrom
gpshead:test_tools/freeze_parallelism_limit
Feb 12, 2023
Merged

gh-89792: Limit test_tools freeze test build parallelism based on the number of cores#101841
gpshead merged 2 commits into
python:mainfrom
gpshead:test_tools/freeze_parallelism_limit

Conversation

gpshead commented Feb 12, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

base it on the number of cpus, don't use more than max(2, 2/3).
gpshead added tests Tests in the Lib/test dir needs backport to 3.11 only security fixes labels Feb 12, 2023
gpshead self-assigned this Feb 12, 2023
gpshead merged commit dfc2e06 into python:main Feb 12, 2023

Copy link
Copy Markdown
Contributor

Thanks @gpshead for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

gpshead deleted the test_tools/freeze_parallelism_limit branch February 12, 2023 06:07

Copy link
Copy Markdown

GH-101842 is a backport of this pull request to the 3.11 branch.

bedevere-bot removed the needs backport to 3.11 only security fixes label Feb 12, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 12, 2023
…on the number of cores (pythonGH-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 dfc2e06) Co-authored-by: Gregory P. Smith <greg@krypto.org>
miss-islington added a commit that referenced this pull request Feb 12, 2023
… 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 dfc2e06) Co-authored-by: Gregory P. Smith <greg@krypto.org>
carljm added a commit to carljm/cpython that referenced this pull request Feb 13, 2023
* main: pythongh-101810: Remove duplicated st_ino calculation (pythonGH-101811) pythongh-92547: Purge sqlite3_enable_shared_cache() detection from configure (python#101873) pythonGH-100987: Refactor `_PyInterpreterFrame` a bit, to assist generator improvement. (pythonGH-100988) pythonGH-87849: Simplify stack effect of SEND and specialize it for generators and coroutines. (pythonGH-101788) Correct trivial grammar in reset_mock docs (python#101861) pythongh-101845: pyspecific: Fix i18n for availability directive (pythonGH-101846) pythongh-89792: Limit test_tools freeze test build parallelism based on the number of cores (python#101841) pythongh-85984: Utilize new "winsize" functions from termios in pty tests. (python#101831) pythongh-89792: Prevent test_tools from copying 1000M of "source" in freeze test (python#101837) Fix typo in test_fstring.py (python#101823) pythonGH-101797: allocate `PyExpat_CAPI` capsule on heap (python#101798) pythongh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call it a class method (pythonGH-101391)
This file contains hidden or 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Footer

© 2026 GitHub, Inc.