FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-148907: fix performance regression in `PyType_GetModuleByDef` on free-threading by kumaraditya303 · Pull Request #148908 · python/cpython · GitHub

/ cpython Public

gh-148907: fix performance regression in PyType_GetModuleByDef on free-threading - #148908

Merged
kumaraditya303 merged 1 commit into
python:mainfrom
kumaraditya303:tls-regression
Apr 23, 2026
Merged

gh-148907: fix performance regression in PyType_GetModuleByDef on free-threading#148908
kumaraditya303 merged 1 commit into
python:mainfrom
kumaraditya303:tls-regression

Conversation

kumaraditya303 commented Apr 23, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

On this PR:

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

kumaraditya303 merged commit 29917d5 into python:main Apr 23, 2026
59 checks passed
kumaraditya303 deleted the tls-regression branch April 23, 2026 11:13
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026

encukou commented May 1, 2026

Copy link
Copy Markdown
Member

Thank you for the fix!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL