bpo-44725 : expose specialization stats in python (GH-27192)

This commit is contained in:
Irit Katriel 2021-07-29 17:26:53 +01:00 committed by GitHub
parent 6741794dd4
commit ddd1c418c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 158 additions and 1 deletions

View file

@ -234,3 +234,13 @@ _specialized_instructions = [
"LOAD_GLOBAL_MODULE",
"LOAD_GLOBAL_BUILTIN",
]
_specialization_stats = [
"specialization_success",
"specialization_failure",
"hit",
"deferred",
"miss",
"deopt",
"unquickened",
]