René's URL Explorer Experiment


Title: gh-104028: Reduce object creation while calling callback function from gc by corona10 · Pull Request #104030 · python/cpython · GitHub

Open Graph Title: gh-104028: Reduce object creation while calling callback function from gc by corona10 · Pull Request #104030 · python/cpython

X Title: gh-104028: Reduce object creation while calling callback function from gc by corona10 · Pull Request #104030 · python/cpython

Description: Issue: Reduce redundant object creation while calling callback function from gc #104028 From my microbenchmark, there was 4-5 % performance improvement. Mean +- std dev: [base] 625 us +- 12 us ->...

Open Graph Description: Issue: Reduce redundant object creation while calling callback function from gc #104028 From my microbenchmark, there was 4-5 % performance improvement. Mean +- std dev: [base] 625 us +- 12 us -&...

X Description: Issue: Reduce redundant object creation while calling callback function from gc #104028 From my microbenchmark, there was 4-5 % performance improvement. Mean +- std dev: [base] 625 us +- 12 us -&...

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

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:4538ce8c-3b26-10b3-9836-90165149f0b4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8154:366DBA:99B75:D3015:6969627F
html-safe-nonceb9247ef7dc60782127adb7d5494da2c7359a727451a22fbfd70379290abe4b2e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTU0OjM2NkRCQTo5OUI3NTpEMzAxNTo2OTY5NjI3RiIsInZpc2l0b3JfaWQiOiI1NTA5MDA5MzUyMzg4MzM4MzAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacca3ea4bd1ddc65f2f630cfe52fb1d51d611e3a31c37a8d9bab4c5a5a64a04e37
hovercard-subject-tagpull_request:1333443787
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/104030/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9e348408dfc8679a8cc51d6905a16a0b6a29140253d16b2aa85d3cf58f985a53/python/cpython/pull/104030
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9e348408dfc8679a8cc51d6905a16a0b6a29140253d16b2aa85d3cf58f985a53/python/cpython/pull/104030
og:image:altIssue: Reduce redundant object creation while calling callback function from gc #104028 From my microbenchmark, there was 4-5 % performance improvement. Mean +- std dev: [base] 625 us +- 12 us -&...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecorona10
hostnamegithub.com
expected-hostnamegithub.com
None48487c1ad776a7975b7132d95f4240ff3ae37cd5b8e3cb597102a4edb76738f1
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
release669463fcc54773a88c1f5a44eef6b99a5504b9c7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/104030#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F104030
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%2F104030
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/104030
Reloadhttps://github.com/python/cpython/pull/104030
Reloadhttps://github.com/python/cpython/pull/104030
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/104030
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/104030
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/104030#issue-comment-box
corona10https://github.com/corona10
python:mainhttps://github.com/python/cpython/tree/main
corona10:gh-104028https://github.com/corona10/cpython/tree/gh-104028
gh-104028: Reduce object creation while calling callback function from gc https://github.com/python/cpython/pull/104030#top
corona10https://github.com/corona10
python:mainhttps://github.com/python/cpython/tree/main
corona10:gh-104028https://github.com/corona10/cpython/tree/gh-104028
Conversation 1 https://github.com/python/cpython/pull/104030
Commits 3 https://github.com/python/cpython/pull/104030/commits
Checks 0 https://github.com/python/cpython/pull/104030/checks
Files changed https://github.com/python/cpython/pull/104030/files
Please reload this pagehttps://github.com/python/cpython/pull/104030
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/corona10
corona10https://github.com/corona10
May 1, 2023https://github.com/python/cpython/pull/104030#issue-1690387363
Please reload this pagehttps://github.com/python/cpython/pull/104030
Reduce redundant object creation while calling callback function from gc #104028https://github.com/python/cpython/issues/104028
microbenchmarkhttps://github.com/python/cpython/issues/104028#issue-1690384429
Please reload this pagehttps://github.com/python/cpython/pull/104030
https://github.com/corona10
corona10https://github.com/corona10
kumaraditya303https://github.com/kumaraditya303
May 1, 2023 05:11https://github.com/python/cpython/pull/104030#event-9134475145
https://github.com/corona10
corona10https://github.com/corona10
pablogsalhttps://github.com/pablogsal
code ownerhttps://github.com/python/cpython/blob/4b27972f5fe816d3616f97f8643d8ad922473ab5/.github/CODEOWNERS#L87
May 1, 2023 05:11https://github.com/python/cpython/pull/104030#event-9134475188
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
May 1, 2023https://github.com/python/cpython/pull/104030#event-9134475379
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
May 1, 2023 https://github.com/python/cpython/pull/104030#ref-issue-1690384429
Reduce redundant object creation while calling callback function from gc #104028 https://github.com/python/cpython/issues/104028
https://github.com/corona10
corona10https://github.com/corona10
Fidget-Spinnerhttps://github.com/Fidget-Spinner
May 1, 2023 05:13https://github.com/python/cpython/pull/104030#event-9134486920
https://github.com/corona10
corona10https://github.com/corona10
May 1, 2023https://github.com/python/cpython/pull/104030#event-9134588441
https://github.com/corona10
corona10https://github.com/corona10
May 1, 2023https://github.com/python/cpython/pull/104030#event-9134612244
https://github.com/corona10
corona10https://github.com/corona10
force-pushedhttps://github.com/python/cpython/compare/2a093148450cdbd0260a8d0def072222a44eb479..fa8434b982f7422de339eef7331ade1aa4a9826a
2a09314https://github.com/python/cpython/commit/2a093148450cdbd0260a8d0def072222a44eb479
fa8434bhttps://github.com/python/cpython/commit/fa8434b982f7422de339eef7331ade1aa4a9826a
Compare https://github.com/python/cpython/compare/2a093148450cdbd0260a8d0def072222a44eb479..fa8434b982f7422de339eef7331ade1aa4a9826a
May 1, 2023 05:51https://github.com/python/cpython/pull/104030#event-9134613305
https://github.com/corona10
corona10https://github.com/corona10
May 1, 2023https://github.com/python/cpython/pull/104030#event-9134807527
https://github.com/corona10
corona10https://github.com/corona10
May 1, 2023https://github.com/python/cpython/pull/104030#event-9134812443
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
May 1, 2023 https://github.com/python/cpython/pull/104030#pullrequestreview-1407424606
View reviewed changes https://github.com/python/cpython/pull/104030/files
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
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
May 1, 2023https://github.com/python/cpython/pull/104030#event-9135097336
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
May 1, 2023 https://github.com/python/cpython/pull/104030#pullrequestreview-1407426442
View reviewed changes https://github.com/python/cpython/pull/104030/files
pablogsalhttps://github.com/pablogsal
https://github.com/python/cpython/pull/104030#pullrequestreview-1407426442
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/104030
corona10https://github.com/corona10
May 1, 2023 22:35https://github.com/python/cpython/pull/104030#commits-pushed-d55c1a1
https://github.com/corona10
pythongh-104028https://github.com/python/cpython/issues/104028
: Reduce objects creation while calling callback funct…https://github.com/python/cpython/pull/104030/commits/d55c1a193b732352a48bca0e37d5ec24bafc45bf
d55c1a1https://github.com/python/cpython/pull/104030/commits/d55c1a193b732352a48bca0e37d5ec24bafc45bf
https://github.com/corona10
Handle no memory casehttps://github.com/python/cpython/pull/104030/commits/952674ff44b7a071a86cda1561072bd23556a91a
952674fhttps://github.com/python/cpython/pull/104030/commits/952674ff44b7a071a86cda1561072bd23556a91a
https://github.com/corona10
Update NEWS.dhttps://github.com/python/cpython/pull/104030/commits/a0932eca3ce8faed347820f4bf17bdd34b161640
a0932echttps://github.com/python/cpython/pull/104030/commits/a0932eca3ce8faed347820f4bf17bdd34b161640
https://github.com/corona10
corona10https://github.com/corona10
force-pushedhttps://github.com/python/cpython/compare/fa8434b982f7422de339eef7331ade1aa4a9826a..a0932eca3ce8faed347820f4bf17bdd34b161640
fa8434bhttps://github.com/python/cpython/commit/fa8434b982f7422de339eef7331ade1aa4a9826a
a0932echttps://github.com/python/cpython/commit/a0932eca3ce8faed347820f4bf17bdd34b161640
Compare https://github.com/python/cpython/compare/fa8434b982f7422de339eef7331ade1aa4a9826a..a0932eca3ce8faed347820f4bf17bdd34b161640
May 1, 2023 13:35https://github.com/python/cpython/pull/104030#event-9136622790
https://github.com/corona10
corona10https://github.com/corona10
May 1, 2023 13:38https://github.com/python/cpython/pull/104030#event-9136638859
https://github.com/corona10
corona10https://github.com/corona10
e147694https://github.com/python/cpython/commit/e1476942525ae847875dab55541bef4a8a99dd3d
May 1, 2023https://github.com/python/cpython/pull/104030#event-9136796006
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
May 1, 2023https://github.com/python/cpython/pull/104030#event-9136796467
carljmhttps://github.com/carljm
May 1, 2023 https://github.com/python/cpython/pull/104030#ref-commit-159b2aa
https://github.com/carljm
Merge branch 'main' into supermonhttps://github.com/carljm/cpython/commit/159b2aa551ad8c9f71da1a5835b658a70f93bfd5
159b2aahttps://github.com/carljm/cpython/commit/159b2aa551ad8c9f71da1a5835b658a70f93bfd5
pythongh-104028https://github.com/python/cpython/issues/104028
pythongh-104030https://github.com/python/cpython/pull/104030
pythongh-104036https://github.com/python/cpython/issues/104036
python#104037https://github.com/python/cpython/pull/104037
pythongh-102213https://github.com/python/cpython/issues/102213
pythonGH-103761https://github.com/python/cpython/pull/103761
pythongh-103895https://github.com/python/cpython/issues/103895
python#103897https://github.com/python/cpython/pull/103897
pythonGH-104021https://github.com/python/cpython/pull/104021
pythongh-88496https://github.com/python/cpython/issues/88496
python#104025https://github.com/python/cpython/pull/104025
python#104024https://github.com/python/cpython/pull/104024
pythongh-88773https://github.com/python/cpython/issues/88773
python#103974https://github.com/python/cpython/pull/103974
pythongh-104015https://github.com/python/cpython/issues/104015
python#104017https://github.com/python/cpython/pull/104017
pythongh-104012https://github.com/python/cpython/issues/104012
python#104014https://github.com/python/cpython/pull/104014
pythongh-103977https://github.com/python/cpython/issues/103977
python#103981https://github.com/python/cpython/pull/103981
pythongh-98003https://github.com/python/cpython/issues/98003
pythonGH-98004https://github.com/python/cpython/pull/98004
python#103843https://github.com/python/cpython/pull/103843
python#103696https://github.com/python/cpython/pull/103696
pythongh-82054https://github.com/python/cpython/issues/82054
python#103927https://github.com/python/cpython/pull/103927
python#103991https://github.com/python/cpython/pull/103991
pythongh-103793https://github.com/python/cpython/issues/103793
python#103767https://github.com/python/cpython/pull/103767
pythongh-87092https://github.com/python/cpython/issues/87092
python#103933https://github.com/python/cpython/pull/103933
pythongh-103636https://github.com/python/cpython/issues/103636
python#103833https://github.com/python/cpython/pull/103833
python#103923https://github.com/python/cpython/pull/103923
carljmhttps://github.com/carljm
May 1, 2023 https://github.com/python/cpython/pull/104030#ref-commit-1274e2b
https://github.com/carljm
Merge branch 'main' into inlinecomp2https://github.com/carljm/cpython/commit/1274e2bf55565619f80c9b9ceee35c258b413eb6
1274e2bhttps://github.com/carljm/cpython/commit/1274e2bf55565619f80c9b9ceee35c258b413eb6
pythongh-104057https://github.com/python/cpython/issues/104057
python#104064https://github.com/python/cpython/pull/104064
pythongh-87092https://github.com/python/cpython/issues/87092
python#103988https://github.com/python/cpython/pull/103988
pythongh-97696https://github.com/python/cpython/issues/97696
python#102853https://github.com/python/cpython/pull/102853
pythongh-84436https://github.com/python/cpython/issues/84436
pythongh-104054https://github.com/python/cpython/pull/104054
pythongh-104057https://github.com/python/cpython/issues/104057
pythonGH-104059https://github.com/python/cpython/pull/104059
pythongh-100458https://github.com/python/cpython/issues/100458
pythonGH-100387https://github.com/python/cpython/pull/100387
pythongh-104018https://github.com/python/cpython/issues/104018
pythonGH-104033https://github.com/python/cpython/pull/104033
pythongh-104016https://github.com/python/cpython/issues/104016
python#104047https://github.com/python/cpython/pull/104047
pythonGH-103629https://github.com/python/cpython/issues/103629
python#104048https://github.com/python/cpython/pull/104048
pythongh-102799https://github.com/python/cpython/issues/102799
python#104032https://github.com/python/cpython/pull/104032
python#104034https://github.com/python/cpython/pull/104034
pythongh-103824https://github.com/python/cpython/issues/103824
python#103993https://github.com/python/cpython/pull/103993
pythongh-104035https://github.com/python/cpython/issues/104035
python#104041https://github.com/python/cpython/pull/104041
pythongh-104028https://github.com/python/cpython/issues/104028
pythongh-104030https://github.com/python/cpython/pull/104030
pythongh-104036https://github.com/python/cpython/issues/104036
python#104037https://github.com/python/cpython/pull/104037
pythongh-102213https://github.com/python/cpython/issues/102213
pythonGH-103761https://github.com/python/cpython/pull/103761
pythongh-103895https://github.com/python/cpython/issues/103895
python#103897https://github.com/python/cpython/pull/103897
pythonGH-104021https://github.com/python/cpython/pull/104021
pythongh-88496https://github.com/python/cpython/issues/88496
python#104025https://github.com/python/cpython/pull/104025
python#104024https://github.com/python/cpython/pull/104024
https://github.com/corona10
corona10https://github.com/corona10
May 11, 2023 12:32https://github.com/python/cpython/pull/104030#event-9221917312
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%2F104030
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/python/cpython/pull/104030/files/fa8434b982f7422de339eef7331ade1aa4a9826a
https://github.com/Fidget-Spinner
Fidget-Spinner https://github.com/Fidget-Spinner
https://github.com/python/cpython/pull/104030/files/fa8434b982f7422de339eef7331ade1aa4a9826a
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
Please reload this pagehttps://github.com/python/cpython/pull/104030
https://github.com/corona10
https://github.com/pablogsal
https://github.com/Fidget-Spinner
https://github.com/bedevere-bot
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.