René's URL Explorer Experiment


Title: bpo-45609: Specialize STORE_SUBSCR by sweeneyde · Pull Request #29221 · python/cpython · GitHub

Open Graph Title: bpo-45609: Specialize STORE_SUBSCR by sweeneyde · Pull Request #29221 · python/cpython

X Title: bpo-45609: Specialize STORE_SUBSCR by sweeneyde · Pull Request #29221 · python/cpython

Description: Specialization and pyperformance data for this PR here: https://gist.github.com/sweeneyde/91855e50feb9992b604ddda2d4f1511e , including microbenchmarks: Benchmark main_subscr_micro subscr_micro bytearray[int]=... 16.6 ms 8.14 ms: 2.03x faster list[int]=... 15.6 ms 7.77 ms: 2.01x faster dict[str]=... 18.5 ms 13.2 ms: 1.41x faster dict[tuple]=... 23.5 ms 23.1 ms: 1.02x faster Geometric mean (ref) 1.56x faster More detailed data from before the PR here: faster-cpython/ideas#105 https://bugs.python.org/issue45609

Open Graph Description: Specialization and pyperformance data for this PR here: https://gist.github.com/sweeneyde/91855e50feb9992b604ddda2d4f1511e , including microbenchmarks: Benchmark main_subscr_micro subscr_micro ...

X Description: Specialization and pyperformance data for this PR here: https://gist.github.com/sweeneyde/91855e50feb9992b604ddda2d4f1511e , including microbenchmarks: Benchmark main_subscr_micro subscr_micro ...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:493c3d21-db33-320f-fa9f-2844eac9ec4a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCE16:2E124E:48CB2A4:5CBD99B:6B025D7B
html-safe-noncee1ca9932f31e74df72e8f8c89f80680fa7dd03080525ecb75c1aee16a952fbdb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTE2OjJFMTI0RTo0OENCMkE0OjVDQkQ5OUI6NkIwMjVEN0IiLCJ2aXNpdG9yX2lkIjoiMTA4OTgzMDkwNjQzMDExOTI5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac98541a71b631f67afde4275c6025e17a6c6a906ff11c4be11c3514b4618fdc48
hovercard-subject-tagpull_request:765954589
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/29221/files
twitter:imagehttps://avatars.githubusercontent.com/u/36520290?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/36520290?s=400&v=4
og:image:altSpecialization and pyperformance data for this PR here: https://gist.github.com/sweeneyde/91855e50feb9992b604ddda2d4f1511e , including microbenchmarks: Benchmark main_subscr_micro subscr_micro ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/29221/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29221%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29221%2Ffiles
Sign uphttps://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/29221/files
Reloadhttps://github.com/python/cpython/pull/29221/files
Reloadhttps://github.com/python/cpython/pull/29221/files
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
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
sweeneydehttps://github.com/sweeneyde
python:mainhttps://github.com/python/cpython/tree/main
sweeneyde:store_subscrhttps://github.com/sweeneyde/cpython/tree/store_subscr
Conversation 1 https://github.com/python/cpython/pull/29221
Commits 5 https://github.com/python/cpython/pull/29221/commits
Checks 0 https://github.com/python/cpython/pull/29221/checks
Files changed https://github.com/python/cpython/pull/29221/files
Please reload this pagehttps://github.com/python/cpython/pull/29221/files
bpo-45609: Specialize STORE_SUBSCR https://github.com/python/cpython/pull/29221/files#top
Show all changes 5 commits https://github.com/python/cpython/pull/29221/files
0baeaed first draft with temporary stats sweeneyde Oct 24, 2021 https://github.com/python/cpython/pull/29221/commits/0baeaedc8a7b991ae3281c1f0512b5dbd7afc19c
9a795a8 3 specializations: list[int], dict[str], bytearray[int] sweeneyde Oct 25, 2021 https://github.com/python/cpython/pull/29221/commits/9a795a8f994e06fac70f4dac854dbe3d036802ee
52e2333 📜🤖 Added by blurb_it. blurb-it[bot] Oct 26, 2021 https://github.com/python/cpython/pull/29221/commits/52e23330a8fae0ca50ace09db87557defbf1d76c
5dd0657 Refactor bytearray opcode and fix asan compaints sweeneyde Oct 26, 2021 https://github.com/python/cpython/pull/29221/commits/5dd0657141b6459aa76ffe7f20b80d7ddbe0b28a
50ed84c Merge branch 'store_subscr' of https://github.com/sweeneyde/cpython i… sweeneyde Oct 26, 2021 https://github.com/python/cpython/pull/29221/commits/50ed84c64605868772c02c9a7551717afe029a9e
Clear filters https://github.com/python/cpython/pull/29221/files
Please reload this pagehttps://github.com/python/cpython/pull/29221/files
Please reload this pagehttps://github.com/python/cpython/pull/29221/files
pycore_code.h https://github.com/python/cpython/pull/29221/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8
pycore_dict.h https://github.com/python/cpython/pull/29221/files#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4
opcode.h https://github.com/python/cpython/pull/29221/files#diff-1cd1f0bb26c3fbaa279f83ee2bfe1d9072da7af07407111c79039c66034c57ed
opcode.py https://github.com/python/cpython/pull/29221/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb
2021-10-26-01-01-17.bpo-45609.L1GKPX.rst https://github.com/python/cpython/pull/29221/files#diff-b67fd86f895c8113caad8d313ceb76dfc265d1936e17c4bfec641f4bff51a99a
dictobject.c https://github.com/python/cpython/pull/29221/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae
ceval.c https://github.com/python/cpython/pull/29221/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
opcode_targets.h https://github.com/python/cpython/pull/29221/files#diff-d3363a4083b77b9157d0bf07c2e87f3d3464a8b4360d5d23b07bbb23061f007a
specialize.c https://github.com/python/cpython/pull/29221/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
Include/internal/pycore_code.hhttps://github.com/python/cpython/pull/29221/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8
View file https://github.com/sweeneyde/cpython/blob/50ed84c64605868772c02c9a7551717afe029a9e/Include/internal/pycore_code.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29221/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29221/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8
https://github.com/python/cpython/pull/29221/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8
Include/internal/pycore_dict.hhttps://github.com/python/cpython/pull/29221/files#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4
View file https://github.com/sweeneyde/cpython/blob/50ed84c64605868772c02c9a7551717afe029a9e/Include/internal/pycore_dict.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29221/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29221/files#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4
https://github.com/python/cpython/pull/29221/files#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4
Include/opcode.hhttps://github.com/python/cpython/pull/29221/files#diff-1cd1f0bb26c3fbaa279f83ee2bfe1d9072da7af07407111c79039c66034c57ed
View file https://github.com/sweeneyde/cpython/blob/50ed84c64605868772c02c9a7551717afe029a9e/Include/opcode.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/29221/files
Lib/opcode.pyhttps://github.com/python/cpython/pull/29221/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb
View file https://github.com/sweeneyde/cpython/blob/50ed84c64605868772c02c9a7551717afe029a9e/Lib/opcode.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29221/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29221/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb
https://github.com/python/cpython/pull/29221/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb
Misc/NEWS.d/next/Core and Builtins/2021-10-26-01-01-17.bpo-45609.L1GKPX.rsthttps://github.com/python/cpython/pull/29221/files#diff-b67fd86f895c8113caad8d313ceb76dfc265d1936e17c4bfec641f4bff51a99a
View file https://github.com/sweeneyde/cpython/blob/50ed84c64605868772c02c9a7551717afe029a9e/Misc/NEWS.d/next/Core%20and%20Builtins/2021-10-26-01-01-17.bpo-45609.L1GKPX.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29221/{{ revealButtonHref }}
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L212
Objects/dictobject.chttps://github.com/python/cpython/pull/29221/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae
View file https://github.com/sweeneyde/cpython/blob/50ed84c64605868772c02c9a7551717afe029a9e/Objects/dictobject.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29221/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29221/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae
https://github.com/python/cpython/pull/29221/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L223
Python/ceval.chttps://github.com/python/cpython/pull/29221/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
View file https://github.com/sweeneyde/cpython/blob/50ed84c64605868772c02c9a7551717afe029a9e/Python/ceval.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29221/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29221/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/29221/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/29221/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/29221/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/29221/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
Please reload this pagehttps://github.com/python/cpython/pull/29221/files
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.