Skip to content

Improve stats presentation for specialization#102181

@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 kindCountRatio
other27,54096.6%
kind 139803.4%

After improvement:

specialization stats for SEND family
Failure kindCountRatio
async generator send24,44086.5%
other3,10011.0%
list7002.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