Fix reporting of specialization stats. (GH-31503)

This commit is contained in:
Mark Shannon 2022-02-22 17:18:10 +00:00 committed by GitHub
parent 77f31a91d5
commit 09487c11a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -38,7 +38,7 @@ def print_specialization_stats(name, family_stats, defines):
for key in sorted(family_stats):
if key.startswith("specialization.failure_kinds"):
continue
if key.startswith("specialization."):
if key in ("specialization.hit", "specialization.miss"):
label = key[len("specialization."):]
elif key == "execution_count":
label = "unquickened"