Title: Add a benchmark for runtime-checkable protocols by AlexWaygood · Pull Request #280 · python/pyperformance · GitHub
Open Graph Title: Add a benchmark for runtime-checkable protocols by AlexWaygood · Pull Request #280 · python/pyperformance
X Title: Add a benchmark for runtime-checkable protocols by AlexWaygood · Pull Request #280 · python/pyperformance
Description: We had a longstanding issue open at CPython complaining that the performance of isinstance() checks against runtime-checkable protocols was a serious bottleneck for their programme. The performance of these isinstance() checks has been significantly improved for 3.12 compared to 3.11, but there's currently no code (to my knowledge) in pyperformance that significantly exercises isinstance() checks against runtime-checkable protocols. Work towards #105.
Open Graph Description: We had a longstanding issue open at CPython complaining that the performance of isinstance() checks against runtime-checkable protocols was a serious bottleneck for their programme. The performance...
X Description: We had a longstanding issue open at CPython complaining that the performance of isinstance() checks against runtime-checkable protocols was a serious bottleneck for their programme. The performance...
Opengraph URL: https://github.com/python/pyperformance/pull/280
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:bc277b6b-cae8-c026-5d18-33780912ed7a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A526:76F86:41BCF5:584F21:6969DDC8 |
| html-safe-nonce | 0731a34390508b3454090b6043a6270797fdcffc1d226bc5fa3028f252986247 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTI2Ojc2Rjg2OjQxQkNGNTo1ODRGMjE6Njk2OUREQzgiLCJ2aXNpdG9yX2lkIjoiMzMwNjIzODk1NTY1MDk4NDQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4efbd0f1baf3b42901af14e97e2a8905d54c01b395f3bf3ac58557f0fc65ae11 |
| hovercard-subject-tag | pull_request:1327801248 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/pyperformance/pull/280/files |
| twitter:image | https://avatars.githubusercontent.com/u/66076021?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/66076021?s=400&v=4 |
| og:image:alt | We had a longstanding issue open at CPython complaining that the performance of isinstance() checks against runtime-checkable protocols was a serious bottleneck for their programme. The performance... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/pyperformance git https://github.com/python/pyperformance.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 65949828 |
| octolytics-dimension-repository_nwo | python/pyperformance |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65949828 |
| octolytics-dimension-repository_network_root_nwo | python/pyperformance |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width