Skip to content

Improve stats presentation for specialization #102181

Description

@penguin-wwy

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 for SEND family
Failure kind Count Ratio
other 27,540 96.6%
kind 13 980 3.4%

After improvement:

specialization stats for SEND family
Failure kind Count Ratio
async generator send 24,440 86.5%
other 3,100 11.0%
list 700 2.5%

Linked PRs

Activity

  1. added a commit that references this issue on May 10, 2023
  2. added a commit that references this issue on May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usagetype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions