Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-46072: Add per-instruction miss stats. #31108

Merged

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Feb 3, 2022

Also explictly mark which instructions are specializable in stats. It is not the job of the summary script to guess which instructions are specializable.

Per instruction stats now look like:

LOAD_METHOD_NO_DICT: 488505073 0.7% 84.8%
    Misses: 5702208 1.2%
STORE_ATTR_INSTANCE_VALUE: 485786899 0.7% 85.5%
    Misses: 6904720 1.4%
BINARY_OP_SUBTRACT_INT: 460413189 0.7% 86.2%
    Misses: 2710155 0.6%
...

https://bugs.python.org/issue46072

Copy link
Member

@sweeneyde sweeneyde left a comment

Thanks - LGTM! I tested this out and the results look reasonable.

@markshannon markshannon merged commit 832876b into python:main Feb 4, 2022
11 checks passed
@markshannon markshannon deleted the deopt-stats-per-instruction branch Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants