gh-125985: Add free threading scaling micro benchmarks#125986
Merged
colesbury merged 6 commits intopython:mainfrom Oct 28, 2024
Merged
gh-125985: Add free threading scaling micro benchmarks#125986colesbury merged 6 commits intopython:mainfrom
colesbury merged 6 commits intopython:mainfrom
Conversation
These consist of a number of short snippets that help identify scaling bottlenecks in the free threaded interpreter. The current bottlenecks are in calling functions in benchmarks that call functions (due to `LOAD_ATTR` not yet using deferred reference counting) and when accessing thread-local data.
Contributor
Author
|
Some results below: CPython 3.14t resultsCPython 3.13t resultsnogil fork (3.9) resultsAs mentioned in the PR description, we have known scaling issues related to The 3.13 release avoids the Note that small variations (e.g. 8.8x vs. 10.4x) are not meaningful. |
mpage
reviewed
Oct 25, 2024
tomasr8
reviewed
Oct 25, 2024
mpage
approved these changes
Oct 28, 2024
tomasr8
approved these changes
Oct 28, 2024
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
picnixz
pushed a commit
to picnixz/cpython
that referenced
this pull request
Dec 8, 2024
…125986) These consist of a number of short snippets that help identify scaling bottlenecks in the free threaded interpreter. The current bottlenecks are in calling functions in benchmarks that call functions (due to `LOAD_ATTR` not yet using deferred reference counting) and when accessing thread-local data.
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this pull request
Jan 12, 2025
…125986) These consist of a number of short snippets that help identify scaling bottlenecks in the free threaded interpreter. The current bottlenecks are in calling functions in benchmarks that call functions (due to `LOAD_ATTR` not yet using deferred reference counting) and when accessing thread-local data.
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These consist of a number of short snippets that help identify scaling bottlenecks in the free threaded interpreter.
The current bottlenecks are in calling functions in benchmarks that call functions (due to
LOAD_ATTRnot yet using deferred reference counting) and when accessing thread-local data.