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 some frame stats. #31060

Merged
merged 2 commits into from
Feb 2, 2022

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Feb 1, 2022

Also add missing CALL_STAT_INC(inlined_py_calls) in CALL_PY_EXACT_ARGS

https://bugs.python.org/issue46072

@markshannon
Copy link
Member Author

markshannon commented Feb 1, 2022

Call stats now look like this

Call stats:
    Calls to PyEval_EvalDefault: 238729815 38.1%
    Calls to Python functions inlined: 387861763 61.9%
    Frames pushed: 509130934 81.3%
    Frame objects created: 9439713 1.5%

@markshannon markshannon merged commit 187930f into python:main Feb 2, 2022
@markshannon markshannon deleted the frame-object-stats branch February 2, 2022 11:02
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.

3 participants