René's URL Explorer Experiment


Title: gh-143421: Lazily allocate tracer code and opt buffers by Fidget-Spinner · Pull Request #143597 · python/cpython · GitHub

Open Graph Title: gh-143421: Lazily allocate tracer code and opt buffers by Fidget-Spinner · Pull Request #143597 · python/cpython

X Title: gh-143421: Lazily allocate tracer code and opt buffers by Fidget-Spinner · Pull Request #143597 · python/cpython

Description: I verified on my system this restores the old performance. Issue: JIT optimizer cleanups #143421

Open Graph Description: I verified on my system this restores the old performance. Issue: JIT optimizer cleanups #143421

X Description: I verified on my system this restores the old performance. Issue: JIT optimizer cleanups #143421

Opengraph URL: https://github.com/python/cpython/pull/143597

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:7836225a-b734-21e0-befa-7134eec93f88
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id94E8:120619:1F4BDB0:2C0F3CC:6970EA36
html-safe-nonce9b82b576a0a074a5a4d2e6be9289159df7254c7df1fb20e149ca4351d5d557ae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEU4OjEyMDYxOToxRjRCREIwOjJDMEYzQ0M6Njk3MEVBMzYiLCJ2aXNpdG9yX2lkIjoiNzIxMjgyMTQ2MTM3MjgyNDExOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac74d43c075397713962096c1abb1724ccf5b0dd70c51af2da9b9b38b4cdcbb068
hovercard-subject-tagpull_request:3159322102
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/143597/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/43eadadc07d35b1d5866a2b2f5184709858355b0a440d53744c882f24b708617/python/cpython/pull/143597
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/43eadadc07d35b1d5866a2b2f5184709858355b0a440d53744c882f24b708617/python/cpython/pull/143597
og:image:altI verified on my system this restores the old performance. Issue: JIT optimizer cleanups #143421
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFidget-Spinner
hostnamegithub.com
expected-hostnamegithub.com
Noneb6ca3cb96fa07d8a62b95d681f9dc8fffb49a43f4fea2a5bcac6d8f5107cbf4e
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released2448578278810c7bf94faa67651ef5adb1abfde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/143597#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143597
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143597
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/143597
Reloadhttps://github.com/python/cpython/pull/143597
Reloadhttps://github.com/python/cpython/pull/143597
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/143597
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.2k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/143597
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/143597#issue-comment-box
Fidget-Spinnerhttps://github.com/Fidget-Spinner
python:mainhttps://github.com/python/cpython/tree/main
Fidget-Spinner:lazily-allocatehttps://github.com/Fidget-Spinner/cpython/tree/lazily-allocate
gh-143421: Lazily allocate tracer code and opt buffers https://github.com/python/cpython/pull/143597#top
Fidget-Spinnerhttps://github.com/Fidget-Spinner
python:mainhttps://github.com/python/cpython/tree/main
Fidget-Spinner:lazily-allocatehttps://github.com/Fidget-Spinner/cpython/tree/lazily-allocate
Conversation 9 https://github.com/python/cpython/pull/143597
Commits 2 https://github.com/python/cpython/pull/143597/commits
Checks 60 https://github.com/python/cpython/pull/143597/checks
Files changed https://github.com/python/cpython/pull/143597/files
Please reload this pagehttps://github.com/python/cpython/pull/143597
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Jan 9, 2026https://github.com/python/cpython/pull/143597#issue-3796551668
Please reload this pagehttps://github.com/python/cpython/pull/143597
JIT optimizer cleanups #143421https://github.com/python/cpython/issues/143421
Please reload this pagehttps://github.com/python/cpython/pull/143597
https://github.com/Fidget-Spinner
Lazily allocate tracer code and opt buffershttps://github.com/python/cpython/pull/143597/commits/fbbac65b353ff12ae0224109fce2462655403961
fbbac65https://github.com/python/cpython/pull/143597/commits/fbbac65b353ff12ae0224109fce2462655403961
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
ZeroIntensityhttps://github.com/ZeroIntensity
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
markshannonhttps://github.com/markshannon
tomasr8https://github.com/tomasr8
code ownershttps://github.com/python/cpython/blob/dcdb23f9db2bd683e5d37558f09b458be25a9b4d/.github/CODEOWNERS#L308
January 9, 2026 11:12https://github.com/python/cpython/pull/143597#event-21945088527
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jan 9, 2026https://github.com/python/cpython/pull/143597#event-21945090223
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jan 9, 2026https://github.com/python/cpython/pull/143597#event-21945091329
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Jan 9, 2026https://github.com/python/cpython/pull/143597#event-21945112308
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jan 9, 2026 https://github.com/python/cpython/pull/143597#ref-issue-3779676300
JIT optimizer cleanups #143421 https://github.com/python/cpython/issues/143421
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Jan 9, 2026 https://github.com/python/cpython/pull/143597#ref-pullrequest-3791072818
gh-143421: Move JitOptContext from stack allocation to per-thread heap allocation to avoid stack overflow. #143536 https://github.com/python/cpython/pull/143536
https://github.com/cocolato
cocolatohttps://github.com/cocolato
Jan 9, 2026https://github.com/python/cpython/pull/143597#issuecomment-3728545101
Please reload this pagehttps://github.com/python/cpython/pull/143597
https://github.com/corona10
corona10https://github.com/corona10
Jan 9, 2026 https://github.com/python/cpython/pull/143597#pullrequestreview-3643662025
View reviewed changes https://github.com/python/cpython/pull/143597/files/fbbac65b353ff12ae0224109fce2462655403961
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jan 9, 2026https://github.com/python/cpython/pull/143597#event-21946026624
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Jan 9, 2026https://github.com/python/cpython/pull/143597#issuecomment-3728669621
Please reload this pagehttps://github.com/python/cpython/pull/143597
https://github.com/Fidget-Spinner
Cut down locals and stack sizehttps://github.com/python/cpython/pull/143597/commits/2354e7884a17197f605eb185b0249a4b12f05200
2354e78https://github.com/python/cpython/pull/143597/commits/2354e7884a17197f605eb185b0249a4b12f05200
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
b852236https://github.com/python/cpython/commit/b852236b26e0464c8c4ba3189846b128c9a5cdf6
Jan 9, 2026https://github.com/python/cpython/pull/143597#event-21951790142
Please reload this pagehttps://github.com/python/cpython/pull/143597
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
January 9, 2026 16:56https://github.com/python/cpython/pull/143597#event-21951790947
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jan 9, 2026https://github.com/python/cpython/pull/143597#event-21951791018
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jan 9, 2026 https://github.com/python/cpython/pull/143597#pullrequestreview-3644829336
View reviewed changes https://github.com/python/cpython/pull/143597/files/2354e7884a17197f605eb185b0249a4b12f05200
Include/internal/pycore_optimizer_types.hhttps://github.com/python/cpython/pull/143597/files/2354e7884a17197f605eb185b0249a4b12f05200#diff-cd178e6d4ba8f18694ab0771162f51bd0ac2415e8d3ce0d43171b2e8c092bcfa
markshannonhttps://github.com/markshannon
Jan 9, 2026https://github.com/python/cpython/pull/143597#discussion_r2676958175
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/143597
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Jan 9, 2026https://github.com/python/cpython/pull/143597#discussion_r2676971497
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/143597
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jan 9, 2026https://github.com/python/cpython/pull/143597#issuecomment-3729845601
Please reload this pagehttps://github.com/python/cpython/pull/143597
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Jan 9, 2026https://github.com/python/cpython/pull/143597#issuecomment-3729848570
@markshannonhttps://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/143597
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Jan 9, 2026https://github.com/python/cpython/pull/143597#issuecomment-3729852730
https://github.com/python/pyperformance/blob/main/pyperformance/data-files/benchmarks/bm_concurrent_imap/run_benchmark.py#L19https://github.com/python/pyperformance/blob/main/pyperformance/data-files/benchmarks/bm_concurrent_imap/run_benchmark.py#L19
Please reload this pagehttps://github.com/python/cpython/pull/143597
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jan 9, 2026https://github.com/python/cpython/pull/143597#issuecomment-3729856571
#143536 (comment)https://github.com/python/cpython/pull/143536#issuecomment-3723587576
Please reload this pagehttps://github.com/python/cpython/pull/143597
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Jan 9, 2026https://github.com/python/cpython/pull/143597#issuecomment-3729860460
#143536 (comment)https://github.com/python/cpython/pull/143536#issuecomment-3723587576
Please reload this pagehttps://github.com/python/cpython/pull/143597
reidenonghttps://github.com/reidenong
Jan 12, 2026 https://github.com/python/cpython/pull/143597#ref-commit-ac9af52
https://github.com/Fidget-Spinner
https://github.com/reidenong
pythongh-143421https://github.com/python/cpython/issues/143421
: Lazily allocate tracer code and opt buffers (https://github.com/reidenong/cpython/commit/ac9af52b090e67911391ef003566d81004be2d4a
pythonG…https://github.com/python/cpython/pull/143597
ac9af52https://github.com/reidenong/cpython/commit/ac9af52b090e67911391ef003566d81004be2d4a
…H-143597https://github.com/python/cpython/pull/143597
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143597
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/python/cpython/pull/143597/files/2354e7884a17197f605eb185b0249a4b12f05200
https://github.com/corona10
corona10 https://github.com/corona10
https://github.com/python/cpython/pull/143597/files/fbbac65b353ff12ae0224109fce2462655403961
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
https://github.com/tomasr8
tomasr8 https://github.com/tomasr8
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/143597
https://github.com/Fidget-Spinner
https://github.com/cocolato
https://github.com/markshannon
https://github.com/corona10
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.