René's URL Explorer Experiment


Title: GH-93841: Turn stats on and off, clear and dump them at runtime. by markshannon · Pull Request #93843 · python/cpython · GitHub

Open Graph Title: GH-93841: Turn stats on and off, clear and dump them at runtime. by markshannon · Pull Request #93843 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

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

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d2fc5d11-abda-922b-2ea8-34c0326957b9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9D8C:20C85F:8507AD:B53C10:6969DE41
html-safe-noncee95e7324aab5391f8d4f122d9ab7dd84da3a72d36cd2c745cf0dce6be93c8fd2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDhDOjIwQzg1Rjo4NTA3QUQ6QjUzQzEwOjY5NjlERTQxIiwidmlzaXRvcl9pZCI6IjY0OTk1MzYzMzEwNTcyNTgwNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8067cc245f37e912c0885afcf75f65336b67dfcf5443b6a0332c3c15a4fde69d
hovercard-subject-tagpull_request:967972646
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/93843/files
og:imagehttps://avatars.githubusercontent.com/u/9448417?s=400&v=4
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/93843/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F93843%2Ffiles
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%2F93843%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/93843/files
Reloadhttps://github.com/python/cpython/pull/93843/files
Reloadhttps://github.com/python/cpython/pull/93843/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/93843/files
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/93843/files
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
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:on-off-statshttps://github.com/faster-cpython/cpython/tree/on-off-stats
Conversation 2 https://github.com/python/cpython/pull/93843
Commits 8 https://github.com/python/cpython/pull/93843/commits
Checks 0 https://github.com/python/cpython/pull/93843/checks
Files changed https://github.com/python/cpython/pull/93843/files
Please reload this pagehttps://github.com/python/cpython/pull/93843/files
GH-93841: Turn stats on and off, clear and dump them at runtime. https://github.com/python/cpython/pull/93843/files#top
Show all changes 8 commits https://github.com/python/cpython/pull/93843/files
4b142e6 Allow stats recording to be turned on or off. WIP. markshannon Jun 14, 2022 https://github.com/python/cpython/pull/93843/commits/4b142e67a4b2110722b9e82df5eee35d104799fb
daa5487 Allow stats to be turned on and off, and be cleared. markshannon Jun 15, 2022 https://github.com/python/cpython/pull/93843/commits/daa5487a4dee22ed372c238b42c12fd279e36e1f
6bc5fe2 Turn on stats markshannon Feb 2, 2022 https://github.com/python/cpython/pull/93843/commits/6bc5fe2a9bfa79fb5fda1ed579c6ef2d49256f2b
d6ce8e6 Fixups and add dump function. markshannon Jun 15, 2022 https://github.com/python/cpython/pull/93843/commits/d6ce8e62f15065a8166468dc26c8545a41a4db15
cc0f61e Turn stats back off. markshannon Jun 15, 2022 https://github.com/python/cpython/pull/93843/commits/cc0f61ee94e692441cb1c2bd99279fb41c89b9c7
e301cda Add news markshannon Jun 15, 2022 https://github.com/python/cpython/pull/93843/commits/e301cda1220372a7a33e09990effae848da6eb2b
4409aff Tidy up doc strings. markshannon Jun 15, 2022 https://github.com/python/cpython/pull/93843/commits/4409aff259c3bd5aaf5e7fa3fb0ad9a5b4a154e0
ca65b2e Merge branch 'main' into on-off-stats markshannon Jun 21, 2022 https://github.com/python/cpython/pull/93843/commits/ca65b2e863d14cfc02826e57246715a4782f3d14
Clear filters https://github.com/python/cpython/pull/93843/files
Please reload this pagehttps://github.com/python/cpython/pull/93843/files
Please reload this pagehttps://github.com/python/cpython/pull/93843/files
pycore_code.h https://github.com/python/cpython/pull/93843/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8
pystats.h https://github.com/python/cpython/pull/93843/files#diff-c8811643aa89128cff4aee6174dc9b1a6043ae7619cc034493b97ee6a5b8a813
2022-06-15-11-16-13.gh-issue-93841.06zqX3.rst https://github.com/python/cpython/pull/93843/files#diff-29fbe8bf61ba20dfcae142f8c6fbd8291d867393553451459e255c5cf14c1851
ceval.c https://github.com/python/cpython/pull/93843/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
sysmodule.c.h https://github.com/python/cpython/pull/93843/files#diff-54f7fc80092fe671aa23ebdff85d74508c67b6c5c15b8f0c3e95cba49da869ed
specialize.c https://github.com/python/cpython/pull/93843/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
sysmodule.c https://github.com/python/cpython/pull/93843/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
Include/internal/pycore_code.hhttps://github.com/python/cpython/pull/93843/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8
View file https://github.com/faster-cpython/cpython/blob/ca65b2e863d14cfc02826e57246715a4782f3d14/Include/internal/pycore_code.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93843/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93843/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8
https://github.com/python/cpython/pull/93843/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8
Include/pystats.hhttps://github.com/python/cpython/pull/93843/files#diff-c8811643aa89128cff4aee6174dc9b1a6043ae7619cc034493b97ee6a5b8a813
View file https://github.com/faster-cpython/cpython/blob/ca65b2e863d14cfc02826e57246715a4782f3d14/Include/pystats.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93843/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93843/files#diff-c8811643aa89128cff4aee6174dc9b1a6043ae7619cc034493b97ee6a5b8a813
https://github.com/python/cpython/pull/93843/files#diff-c8811643aa89128cff4aee6174dc9b1a6043ae7619cc034493b97ee6a5b8a813
Misc/NEWS.d/next/Core and Builtins/2022-06-15-11-16-13.gh-issue-93841.06zqX3.rsthttps://github.com/python/cpython/pull/93843/files#diff-29fbe8bf61ba20dfcae142f8c6fbd8291d867393553451459e255c5cf14c1851
View file https://github.com/faster-cpython/cpython/blob/ca65b2e863d14cfc02826e57246715a4782f3d14/Misc/NEWS.d/next/Core%20and%20Builtins/2022-06-15-11-16-13.gh-issue-93841.06zqX3.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93843/{{ revealButtonHref }}
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L222
Python/ceval.chttps://github.com/python/cpython/pull/93843/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
View file https://github.com/faster-cpython/cpython/blob/ca65b2e863d14cfc02826e57246715a4782f3d14/Python/ceval.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93843/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93843/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/93843/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/93843/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/93843/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/93843/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
Python/clinic/sysmodule.c.hhttps://github.com/python/cpython/pull/93843/files#diff-54f7fc80092fe671aa23ebdff85d74508c67b6c5c15b8f0c3e95cba49da869ed
View file https://github.com/faster-cpython/cpython/blob/ca65b2e863d14cfc02826e57246715a4782f3d14/Python/clinic/sysmodule.c.h
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/93843/files
Python/specialize.chttps://github.com/python/cpython/pull/93843/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
View file https://github.com/faster-cpython/cpython/blob/ca65b2e863d14cfc02826e57246715a4782f3d14/Python/specialize.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93843/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93843/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
https://github.com/python/cpython/pull/93843/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
https://github.com/python/cpython/pull/93843/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
https://github.com/python/cpython/pull/93843/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
https://github.com/python/cpython/pull/93843/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
https://github.com/python/cpython/pull/93843/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
https://github.com/python/cpython/pull/93843/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
https://github.com/python/cpython/pull/93843/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L243
Python/sysmodule.chttps://github.com/python/cpython/pull/93843/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
View file https://github.com/faster-cpython/cpython/blob/ca65b2e863d14cfc02826e57246715a4782f3d14/Python/sysmodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93843/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93843/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
arhadthedevhttps://github.com/arhadthedev
Jun 21, 2022https://github.com/python/cpython/pull/93843/files#r902558561
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/93843/files
markshannonhttps://github.com/markshannon
Jun 21, 2022https://github.com/python/cpython/pull/93843/files#r902706927
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/93843/files
https://github.com/python/cpython/pull/93843/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
https://github.com/python/cpython/pull/93843/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
https://github.com/python/cpython/pull/93843/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
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.