René's URL Explorer Experiment


Title: GH-100288: Specialize LOAD_ATTR for simple class attributes. by markshannon · Pull Request #105990 · python/cpython · GitHub

Open Graph Title: GH-100288: Specialize LOAD_ATTR for simple class attributes. by markshannon · Pull Request #105990 · python/cpython

X Title: GH-100288: Specialize LOAD_ATTR for simple class attributes. by markshannon · Pull Request #105990 · python/cpython

Description: This PR specializes for things like obj.x where: class C: x = 1 obj = C() obj.x Stats The miss rate for LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES is quite poor at 33% (Ignore the stats for LOAD_ATTR_...

Open Graph Description: This PR specializes for things like obj.x where: class C: x = 1 obj = C() obj.x Stats The miss rate for LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES is quite poor at 33% (Ignore the stats for LOAD_ATTR_...

X Description: This PR specializes for things like obj.x where: class C: x = 1 obj = C() obj.x Stats The miss rate for LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES is quite poor at 33% (Ignore the stats for LOAD_ATTR_...

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

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:9f8e274a-f734-e6e8-4ba0-d2e905b6563e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC37E:5177D:1E804AB:2A8BCDE:6969362F
html-safe-nonce5adcdc04ae4b024f3988775e0c301e62e8372557fc2ef179856ad16bd434454b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzdFOjUxNzdEOjFFODA0QUI6MkE4QkNERTo2OTY5MzYyRiIsInZpc2l0b3JfaWQiOiIyMjQyNjA5MDk2NTQxNDE5MDU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac323a5c06e27f79486d2d812d8afd6c74ae4ab0a2ed9af8a7a7db0ff135272462
hovercard-subject-tagpull_request:1403776711
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/105990/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c8da63ab193f738c6493229ffa7dc199b40d52ca7da2b9dbdcd7b2aa1795ccf3/python/cpython/pull/105990
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c8da63ab193f738c6493229ffa7dc199b40d52ca7da2b9dbdcd7b2aa1795ccf3/python/cpython/pull/105990
og:image:altThis PR specializes for things like obj.x where: class C: x = 1 obj = C() obj.x Stats The miss rate for LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES is quite poor at 33% (Ignore the stats for LOAD_ATTR_...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
hostnamegithub.com
expected-hostnamegithub.com
None54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d
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
released69ac0477df0f87da03b8b06cebd187012d7a930
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/105990#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F105990
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%2F105990
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/105990
Reloadhttps://github.com/python/cpython/pull/105990
Reloadhttps://github.com/python/cpython/pull/105990
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/105990
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 2k 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/105990
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/105990#issue-comment-box
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:specialize-more-load-attrhttps://github.com/faster-cpython/cpython/tree/specialize-more-load-attr
GH-100288: Specialize LOAD_ATTR for simple class attributes. https://github.com/python/cpython/pull/105990#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:specialize-more-load-attrhttps://github.com/faster-cpython/cpython/tree/specialize-more-load-attr
Conversation 16 https://github.com/python/cpython/pull/105990
Commits 8 https://github.com/python/cpython/pull/105990/commits
Checks 0 https://github.com/python/cpython/pull/105990/checks
Files changed https://github.com/python/cpython/pull/105990/files
Please reload this pagehttps://github.com/python/cpython/pull/105990
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jun 22, 2023https://github.com/python/cpython/pull/105990#issue-1769967319
Please reload this pagehttps://github.com/python/cpython/pull/105990
Statshttps://github.com/faster-cpython/ideas/blob/main/stats/pystats-2023-06-22-faster-cpython-ed977a1.md
Finish up LOAD_ATTR specialisation #100288https://github.com/python/cpython/issues/100288
Please reload this pagehttps://github.com/python/cpython/pull/105990
markshannonhttps://github.com/markshannon
June 19, 2023 02:22https://github.com/python/cpython/pull/105990#commits-pushed-ed977a1
https://github.com/markshannon
Add three more specializations of LOAD_ATTR.https://github.com/python/cpython/pull/105990/commits/ed977a14abe94ae682a41cd95f8325c3bc3e09d5
ed977a1https://github.com/python/cpython/pull/105990/commits/ed977a14abe94ae682a41cd95f8325c3bc3e09d5
https://github.com/markshannon
Remove LOAD_ATTR_NONDESCRIPTOR_LAZY_DICThttps://github.com/python/cpython/pull/105990/commits/192d0744362d8bd39c08caf1d6b5882e206e3ae8
192d074https://github.com/python/cpython/pull/105990/commits/192d0744362d8bd39c08caf1d6b5882e206e3ae8
https://github.com/markshannon
Address review commentshttps://github.com/python/cpython/pull/105990/commits/3d23b98e3436680fcacb27a69a25e0131eff119f
3d23b98https://github.com/python/cpython/pull/105990/commits/3d23b98e3436680fcacb27a69a25e0131eff119f
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jun 22, 2023 https://github.com/python/cpython/pull/105990#ref-issue-1499820911
Finish up LOAD_ATTR specialisation #100288 https://github.com/python/cpython/issues/100288
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Jun 22, 2023 https://github.com/python/cpython/pull/105990#pullrequestreview-1494041389
View reviewed changes https://github.com/python/cpython/pull/105990/files/192d0744362d8bd39c08caf1d6b5882e206e3ae8
brandtbucherhttps://github.com/brandtbucher
https://github.com/python/cpython/pull/105990#pullrequestreview-1494041389
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/105990
Python/specialize.chttps://github.com/python/cpython/pull/105990/files/192d0744362d8bd39c08caf1d6b5882e206e3ae8#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
brandtbucherhttps://github.com/brandtbucher
Jun 22, 2023https://github.com/python/cpython/pull/105990#discussion_r1239059708
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/105990
markshannonhttps://github.com/markshannon
Jul 4, 2023https://github.com/python/cpython/pull/105990#discussion_r1252174146
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/105990
Python/specialize.chttps://github.com/python/cpython/pull/105990/files/192d0744362d8bd39c08caf1d6b5882e206e3ae8#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
Please reload this pagehttps://github.com/python/cpython/pull/105990
Python/specialize.chttps://github.com/python/cpython/pull/105990/files/192d0744362d8bd39c08caf1d6b5882e206e3ae8#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
Please reload this pagehttps://github.com/python/cpython/pull/105990
Python/bytecodes.chttps://github.com/python/cpython/pull/105990/files/192d0744362d8bd39c08caf1d6b5882e206e3ae8#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
Please reload this pagehttps://github.com/python/cpython/pull/105990
Python/bytecodes.chttps://github.com/python/cpython/pull/105990/files/192d0744362d8bd39c08caf1d6b5882e206e3ae8#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
Please reload this pagehttps://github.com/python/cpython/pull/105990
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jun 26, 2023https://github.com/python/cpython/pull/105990#issuecomment-1607462942
Please reload this pagehttps://github.com/python/cpython/pull/105990
markshannonhttps://github.com/markshannon
July 4, 2023 04:03https://github.com/python/cpython/pull/105990#commits-pushed-d258c0f
https://github.com/markshannon
Merge branch 'main' into specialize-more-load-attrhttps://github.com/python/cpython/pull/105990/commits/d258c0f8f61c487dff6c315fabdc49ce794a1ab4
d258c0fhttps://github.com/python/cpython/pull/105990/commits/d258c0f8f61c487dff6c315fabdc49ce794a1ab4
https://github.com/markshannon
Add newshttps://github.com/python/cpython/pull/105990/commits/1eec620b63a69ef1e102527db7136b4870d3588e
1eec620https://github.com/python/cpython/pull/105990/commits/1eec620b63a69ef1e102527db7136b4870d3588e
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jul 4, 2023https://github.com/python/cpython/pull/105990#issuecomment-1620501677
Please reload this pagehttps://github.com/python/cpython/pull/105990
https://github.com/markshannon
markshannonhttps://github.com/markshannon
July 4, 2023 16:26https://github.com/python/cpython/pull/105990#event-9723575361
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
Jul 4, 2023https://github.com/python/cpython/pull/105990#event-9723575641
markshannonhttps://github.com/markshannon
July 5, 2023 17:04https://github.com/python/cpython/pull/105990#commits-pushed-5861e52
https://github.com/markshannon
Give the interpreter generator a helping hand.https://github.com/python/cpython/pull/105990/commits/5861e525bc8d2697766bca9d114ef5cb45768ed0
5861e52https://github.com/python/cpython/pull/105990/commits/5861e525bc8d2697766bca9d114ef5cb45768ed0
https://github.com/markshannon
Merge branch 'main' into specialize-more-load-attrhttps://github.com/python/cpython/pull/105990/commits/16a2718dbb975b942796f70e5cda55284e3afa3f
16a2718https://github.com/python/cpython/pull/105990/commits/16a2718dbb975b942796f70e5cda55284e3afa3f
https://github.com/markshannon
Merge branch 'main' into specialize-more-load-attrhttps://github.com/python/cpython/pull/105990/commits/8853284bd0d0d47c313e4e09b1ca9ad5e333e4e8
8853284https://github.com/python/cpython/pull/105990/commits/8853284bd0d0d47c313e4e09b1ca9ad5e333e4e8
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Jul 6, 2023 https://github.com/python/cpython/pull/105990#pullrequestreview-1517370061
View reviewed changes https://github.com/python/cpython/pull/105990/files/1eec620b63a69ef1e102527db7136b4870d3588e
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
Jul 6, 2023https://github.com/python/cpython/pull/105990#event-9748407401
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Jul 6, 2023https://github.com/python/cpython/pull/105990#issuecomment-1624358628
Please reload this pagehttps://github.com/python/cpython/pull/105990
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jul 7, 2023https://github.com/python/cpython/pull/105990#issuecomment-1625100748
Please reload this pagehttps://github.com/python/cpython/pull/105990
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jul 7, 2023https://github.com/python/cpython/pull/105990#issuecomment-1625147855
Please reload this pagehttps://github.com/python/cpython/pull/105990
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jul 7, 2023https://github.com/python/cpython/pull/105990#issuecomment-1625154947
Please reload this pagehttps://github.com/python/cpython/pull/105990
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Jul 7, 2023https://github.com/python/cpython/pull/105990#issuecomment-1625734775
Please reload this pagehttps://github.com/python/cpython/pull/105990
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jul 10, 2023https://github.com/python/cpython/pull/105990#issuecomment-1628687279
Please reload this pagehttps://github.com/python/cpython/pull/105990
https://github.com/markshannon
markshannonhttps://github.com/markshannon
0c90e75https://github.com/python/cpython/commit/0c90e7561046a2deb358e6695148060a1c199b49
Jul 10, 2023https://github.com/python/cpython/pull/105990#event-9773102017
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
Jul 10, 2023https://github.com/python/cpython/pull/105990#event-9773102566
kumaraditya303https://github.com/kumaraditya303
Jul 10, 2023 https://github.com/python/cpython/pull/105990#ref-commit-3f9bc86
https://github.com/kumaraditya303
GH-100288https://github.com/python/cpython/issues/100288
: regen cases afterhttps://github.com/python/cpython/commit/3f9bc86c5a1b29fd636a53bf4150acacf60284d8
#105990https://github.com/python/cpython/pull/105990
(https://github.com/python/cpython/commit/3f9bc86c5a1b29fd636a53bf4150acacf60284d8
#106589https://github.com/python/cpython/pull/106589
)https://github.com/python/cpython/commit/3f9bc86c5a1b29fd636a53bf4150acacf60284d8
3f9bc86https://github.com/python/cpython/commit/3f9bc86c5a1b29fd636a53bf4150acacf60284d8
https://github.com/markshannon
markshannonhttps://github.com/markshannon
August 6, 2024 10:18https://github.com/python/cpython/pull/105990#event-13776326085
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%2F105990
https://github.com/brandtbucher
brandtbucher https://github.com/brandtbucher
https://github.com/python/cpython/pull/105990/files/1eec620b63a69ef1e102527db7136b4870d3588e
Please reload this pagehttps://github.com/python/cpython/pull/105990
https://github.com/markshannon
https://github.com/brandtbucher
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.