René's URL Explorer Experiment


Title: bpo-43760: Speed up check for tracing in interpreter dispatch by markshannon · Pull Request #25276 · python/cpython · GitHub

Open Graph Title: bpo-43760: Speed up check for tracing in interpreter dispatch by markshannon · Pull Request #25276 · python/cpython

X Title: bpo-43760: Speed up check for tracing in interpreter dispatch by markshannon · Pull Request #25276 · python/cpython

Description: The code to check if tracing is active occurs once per opcode in the interpreter and is executed in the order of 100 million times per second. It needs to be as efficient as possible. It cannot be ...

Open Graph Description: The code to check if tracing is active occurs once per opcode in the interpreter and is executed in the order of 100 million times per second. It needs to be as efficient as possible. It cannot be ...

X Description: The code to check if tracing is active occurs once per opcode in the interpreter and is executed in the order of 100 million times per second. It needs to be as efficient as possible. It cannot be ...

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

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:6f3447a1-b5f3-fb95-f118-c11bf1af59d7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA488:36419E:396A478:4B1E110:696BA67A
html-safe-nonced79e15357680f731c0c32d551b4ef9ae3348f30c7740b0ffb30d6625f8f1ae4c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDg4OjM2NDE5RTozOTZBNDc4OjRCMUUxMTA6Njk2QkE2N0EiLCJ2aXNpdG9yX2lkIjoiNzI1ODkxODI1MDE0Mzc4NjYxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace41954c9145056075759da4e6e8903489b2bc3a618cef2288712cb94a05677d2
hovercard-subject-tagpull_request:611461141
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/25276/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/170cc337ff6a1a487239ea2edae1038b95f6ace617350788e4d4e867c1dce10c/python/cpython/pull/25276
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/170cc337ff6a1a487239ea2edae1038b95f6ace617350788e4d4e867c1dce10c/python/cpython/pull/25276
og:image:altThe code to check if tracing is active occurs once per opcode in the interpreter and is executed in the order of 100 million times per second. It needs to be as efficient as possible. It cannot be ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/25276#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F25276
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%2F25276
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/25276
Reloadhttps://github.com/python/cpython/pull/25276
Reloadhttps://github.com/python/cpython/pull/25276
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/25276
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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/25276
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/25276#issue-comment-box
markshannonhttps://github.com/markshannon
python:masterhttps://github.com/python/cpython/tree/master
faster-cpython:faster-tracing-testhttps://github.com/faster-cpython/cpython/tree/faster-tracing-test
bpo-43760: Speed up check for tracing in interpreter dispatch https://github.com/python/cpython/pull/25276#top
markshannonhttps://github.com/markshannon
python:masterhttps://github.com/python/cpython/tree/master
faster-cpython:faster-tracing-testhttps://github.com/faster-cpython/cpython/tree/faster-tracing-test
Conversation 3 https://github.com/python/cpython/pull/25276
Commits 6 https://github.com/python/cpython/pull/25276/commits
Checks 0 https://github.com/python/cpython/pull/25276/checks
Files changed https://github.com/python/cpython/pull/25276/files
Please reload this pagehttps://github.com/python/cpython/pull/25276
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Apr 8, 2021https://github.com/python/cpython/pull/25276#issue-853358697
Please reload this pagehttps://github.com/python/cpython/pull/25276
https://bugs.python.org/issue43760https://bugs.python.org/issue43760
Please reload this pagehttps://github.com/python/cpython/pull/25276
markshannonhttps://github.com/markshannon
April 8, 2021 11:23https://github.com/python/cpython/pull/25276#commits-pushed-88fc80c
https://github.com/markshannon
Remove redundant tracing_possible field from interpreter state.https://github.com/python/cpython/pull/25276/commits/88fc80cc27167de0a28d2e2a7320d120275fde48
88fc80chttps://github.com/python/cpython/pull/25276/commits/88fc80cc27167de0a28d2e2a7320d120275fde48
https://github.com/markshannon
Move 'use_tracing' from tstate onto C stack, for fastest possible che…https://github.com/python/cpython/pull/25276/commits/64580715ce10c72cec02b7f03e74c8f1b78b56a8
6458071https://github.com/python/cpython/pull/25276/commits/64580715ce10c72cec02b7f03e74c8f1b78b56a8
https://github.com/markshannon
Add more comments strssing the importance satck discipline when deali…https://github.com/python/cpython/pull/25276/commits/2cf3c9858612ffc139d7223db1d1cdf07dd52599
2cf3c98https://github.com/python/cpython/pull/25276/commits/2cf3c9858612ffc139d7223db1d1cdf07dd52599
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Apr 8, 2021https://github.com/python/cpython/pull/25276#event-4568022196
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Apr 8, 2021https://github.com/python/cpython/pull/25276#event-4568022333
https://github.com/markshannon
Add NEWShttps://github.com/python/cpython/pull/25276/commits/5ba86501e929630a91bcff5b8e35446dc9dc2177
5ba8650https://github.com/python/cpython/pull/25276/commits/5ba86501e929630a91bcff5b8e35446dc9dc2177
https://github.com/markshannon
markshannonhttps://github.com/markshannon
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Apr 8, 2021https://github.com/python/cpython/pull/25276#event-4568828304
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Apr 8, 2021https://github.com/python/cpython/pull/25276#issuecomment-815843146
@markshannonhttps://github.com/markshannon
5ba8650https://github.com/python/cpython/commit/5ba86501e929630a91bcff5b8e35446dc9dc2177
Please reload this pagehttps://github.com/python/cpython/pull/25276
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Apr 8, 2021https://github.com/python/cpython/pull/25276#event-4568828505
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Apr 8, 2021 https://github.com/python/cpython/pull/25276#ref-pullrequest-852581252
Faster tracing test faster-cpython/cpython#6 https://github.com/faster-cpython/cpython/pull/6
https://github.com/markshannon
markshannonhttps://github.com/markshannon
gvanrossumhttps://github.com/gvanrossum
April 9, 2021 16:52https://github.com/python/cpython/pull/25276#event-4575476234
https://github.com/markshannon
Clarify NEWS item.https://github.com/python/cpython/pull/25276/commits/577cafd38978e8b7419d47be1cfb723d63ed0925
577cafdhttps://github.com/python/cpython/pull/25276/commits/577cafd38978e8b7419d47be1cfb723d63ed0925
https://github.com/markshannon
markshannonhttps://github.com/markshannon
force-pushedhttps://github.com/python/cpython/compare/df375c4b06e21cce42ab00c2b0067b8a817bd498..577cafd38978e8b7419d47be1cfb723d63ed0925
df375c4https://github.com/python/cpython/commit/df375c4b06e21cce42ab00c2b0067b8a817bd498
577cafdhttps://github.com/python/cpython/commit/577cafd38978e8b7419d47be1cfb723d63ed0925
Compare https://github.com/python/cpython/compare/df375c4b06e21cce42ab00c2b0067b8a817bd498..577cafd38978e8b7419d47be1cfb723d63ed0925
April 12, 2021 11:25https://github.com/python/cpython/pull/25276#event-4581530975
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Apr 12, 2021 https://github.com/python/cpython/pull/25276#pullrequestreview-633712033
View reviewed changes https://github.com/python/cpython/pull/25276/files/577cafd38978e8b7419d47be1cfb723d63ed0925
Misc/NEWS.d/next/Core and Builtins/2021-04-08-12-20-29.bpo-43760.tBIsD8.rsthttps://github.com/python/cpython/pull/25276/files/577cafd38978e8b7419d47be1cfb723d63ed0925#diff-4d82b64e054e62e5fbddf9e438378a997824768c06b4c4bacc371fbab2705a4e
Please reload this pagehttps://github.com/python/cpython/pull/25276
https://github.com/markshannon
Fix typo.https://github.com/python/cpython/pull/25276/commits/e380267975eba03d615d11c17fb0b1f56a1c9efb
e380267https://github.com/python/cpython/pull/25276/commits/e380267975eba03d615d11c17fb0b1f56a1c9efb
https://github.com/markshannon
markshannonhttps://github.com/markshannon
9e7b207https://github.com/python/cpython/commit/9e7b2076fb4380987ad0262c4c0ca900b06475ad
Apr 13, 2021https://github.com/python/cpython/pull/25276#event-4587127524
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Apr 13, 2021https://github.com/python/cpython/pull/25276#issuecomment-818618273
@markshannonhttps://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/25276
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Apr 13, 2021https://github.com/python/cpython/pull/25276#event-4587127758
https://github.com/markshannon
markshannonhttps://github.com/markshannon
April 14, 2021 13:28https://github.com/python/cpython/pull/25276#event-4593638380
tacaswellhttps://github.com/tacaswell
Apr 30, 2021 https://github.com/python/cpython/pull/25276#ref-commit-1cee585
https://github.com/tacaswell
HACK: adjust for py310 changehttps://github.com/tacaswell/greenlet/commit/1cee585ab45df77c40dcba9e7523f551e7886d66
1cee585https://github.com/tacaswell/greenlet/commit/1cee585ab45df77c40dcba9e7523f551e7886d66
python/cpython#25276https://github.com/python/cpython/pull/25276
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Apr 30, 2021 https://github.com/python/cpython/pull/25276#ref-pullrequest-872562932
HACK: adjust for py310 change python-greenlet/greenlet#236 https://github.com/python-greenlet/greenlet/pull/236
https://github.com/jmarshall
jmarshallhttps://github.com/jmarshall
May 11, 2021 https://github.com/python/cpython/pull/25276#ref-issue-887190325
[BUG] Cython/Utility/Profile.c use of use_tracing broken by recent Python 3.10 change cython/cython#4153 https://github.com/cython/cython/issues/4153
https://github.com/jamadden
jamaddenhttps://github.com/jamadden
Aug 30, 2021 https://github.com/python/cpython/pull/25276#ref-issue-970398099
Change in profiler behaviour in CPython 3.10 python-greenlet/greenlet#256 https://github.com/python-greenlet/greenlet/issues/256
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Sep 13, 2022 https://github.com/python/cpython/pull/25276#ref-issue-1199056144
The DISPATCH() macro is not as efficient as it could be (move PyThreadState.use_tracing) #87926 https://github.com/python/cpython/issues/87926
https://github.com/Araneidae
Araneidaehttps://github.com/Araneidae
May 16, 2023 https://github.com/python/cpython/pull/25276#ref-issue-1618573607
Build failure on Python3.11 DiamondLightSource/cothread#36 https://github.com/DiamondLightSource/cothread/issues/36
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%2F25276
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/python/cpython/pull/25276/files/577cafd38978e8b7419d47be1cfb723d63ed0925
Please reload this pagehttps://github.com/python/cpython/pull/25276
https://github.com/markshannon
https://github.com/bedevere-bot
https://github.com/gvanrossum
https://github.com/the-knights-who-say-ni
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.