X Tutup
Skip to content

bpo-46072: Print summary stats for overall success of specialization.#31211

Merged
markshannon merged 1 commit intopython:mainfrom
faster-cpython:specialization-overall-success-stats
Feb 8, 2022
Merged

bpo-46072: Print summary stats for overall success of specialization.#31211
markshannon merged 1 commit intopython:mainfrom
faster-cpython:specialization-overall-success-stats

Conversation

@markshannon
Copy link
Member

@markshannon markshannon commented Feb 8, 2022

Prints out overall effectiveness of specialization.

Breaks down total execution counts into:

  • Basic: Instructions that aren't worth specializing: E.g. LOAD_FAST
  • Not specialized: All ADAPTIVE instructions, all misses and instructions that we haven't specialized yet (FOR_ITER, UNPACK_SEQUENCE)
  • Specialized instructions, e.g. LOAD_ATTR_SLOT

https://bugs.python.org/issue46072

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

X Tutup