Skip to content

Improve stats presentation for specialization #102181

Closed
@penguin-wwy

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

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