Title: Improve stats presentation for specialization · Issue #102181 · python/cpython · GitHub
Open Graph Title: Improve stats presentation for specialization · Issue #102181 · python/cpython
X Title: Improve stats presentation for specialization · Issue #102181 · python/cpython
Description: SEND and FOR_ITER use the same function to count the type of failure of specialization, which should require a minor improvement to make the correct specialization fail kind appear. For example. Before improvement: specialization stats f...
Open Graph Description: SEND and FOR_ITER use the same function to count the type of failure of specialization, which should require a minor improvement to make the correct specialization fail kind appear. For example. Be...
X Description: SEND and FOR_ITER use the same function to count the type of failure of specialization, which should require a minor improvement to make the correct specialization fail kind appear. For example. Be...
Opengraph URL: https://github.com/python/cpython/issues/102181
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve stats presentation for specialization","articleBody":"`SEND` and `FOR_ITER` use the same function to count the type of failure of specialization, which should require a minor improvement to make the correct specialization fail kind appear.\r\n\r\nFor example.\r\n### Before improvement:\r\n\r\n\u003csummary\u003e specialization stats for SEND family \u003c/summary\u003e\r\n\r\n|Failure kind | Count | Ratio |\r\n|---|---:|---:|\r\n| other | 27,540 | 96.6% |\r\n| kind 13 | 980 | 3.4% |\r\n\r\n### After improvement:\r\n\r\n\u003csummary\u003e specialization stats for SEND family \u003c/summary\u003e\r\n\r\n|Failure kind | Count | Ratio |\r\n|---|---:|---:|\r\n| async generator send | 24,440 | 86.5% |\r\n| other | 3,100 | 11.0% |\r\n| list | 700 | 2.5% |\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-102182\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/penguin-wwy","@type":"Person","name":"penguin-wwy"},"datePublished":"2023-02-23T15:20:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/102181/cpython/issues/102181"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:391ba602-28b8-9380-a4f3-19c77ab55dcc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E884:260922:A2A939:D96412:696991FD |
| html-safe-nonce | b5efbce374ec7ae6d1a70cda6173e462062291e838e9c15d22775123ce123c2e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODg0OjI2MDkyMjpBMkE5Mzk6RDk2NDEyOjY5Njk5MUZEIiwidmlzaXRvcl9pZCI6Ijc3Mzc2MzE4NzMyNzY5NDA3OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 979a3eb07412a9fae8ba509c708cf0d19bc9a67b46402f65c3422697e95dca59 |
| hovercard-subject-tag | issue:1597053523 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/102181/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1357b078d278314df6e8841d644bdd830b82f8b7e3b56837780d60e15e0a4984/python/cpython/issues/102181 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1357b078d278314df6e8841d644bdd830b82f8b7e3b56837780d60e15e0a4984/python/cpython/issues/102181 |
| og:image:alt | SEND and FOR_ITER use the same function to count the type of failure of specialization, which should require a minor improvement to make the correct specialization fail kind appear. For example. Be... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | penguin-wwy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width