KEMBAR78
bpo-46072: Add some frame stats. by markshannon · Pull Request #31060 · python/cpython · GitHub
Skip to content

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