Skip to content

gh-148906: fix scaling of descriptors on free-threading#148915

Merged
kumaraditya303 merged 6 commits into
python:mainfrom
kumaraditya303:descriptor-scaling
May 13, 2026
Merged

gh-148906: fix scaling of descriptors on free-threading#148915
kumaraditya303 merged 6 commits into
python:mainfrom
kumaraditya303:descriptor-scaling

Conversation

@kumaraditya303
Copy link
Copy Markdown
Contributor

@kumaraditya303 kumaraditya303 commented Apr 23, 2026

On this PR:

./python.exe Tools/ftscalingbench/ftscalingbench.py --threads=10 descriptor
Running benchmarks with 10 threads
descriptor                 4.1x faster

@kumaraditya303 kumaraditya303 added performance Performance or resource usage topic-free-threading labels Apr 23, 2026
Comment thread Objects/typeobject.c Outdated
@kumaraditya303 kumaraditya303 requested a review from colesbury May 13, 2026 11:00
Copy link
Copy Markdown
Contributor

@colesbury colesbury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread Objects/typeobject.c Outdated
Comment thread Objects/typeobject.c Outdated
@kumaraditya303 kumaraditya303 added the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label May 13, 2026
@kumaraditya303 kumaraditya303 merged commit 94bca40 into python:main May 13, 2026
54 checks passed
@miss-islington-app
Copy link
Copy Markdown

Thanks @kumaraditya303 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs backport to 3.15 pre-release feature fixes, bugs and security fixes performance Performance or resource usage skip news topic-free-threading

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants