Skip to content

Commit

Permalink
Remove pair-counts from specialization stats. (GH-31500)
Browse files Browse the repository at this point in the history
  • Loading branch information
markshannon committed Feb 22, 2022
1 parent 9058a35 commit 1320d56
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Tools/scripts/summarize_stats.py
Expand Up @@ -42,10 +42,13 @@ def print_specialization_stats(name, family_stats, defines):
label = key[len("specialization."):]
elif key == "execution_count":
label = "unquickened"
elif key in ("specialization.success", "specialization.failure", "specializable"):
continue
elif key.startswith("pair"):
continue
else:
label = key
if key not in ("specialization.success", "specialization.failure", "specializable"):
rows.append((f"{label:>12}", f"{family_stats[key]:>12}", f"{100*family_stats[key]/total:0.1f}%"))
rows.append((f"{label:>12}", f"{family_stats[key]:>12}", f"{100*family_stats[key]/total:0.1f}%"))
emit_table(("Kind", "Count", "Ratio"), rows)
print_title("Specialization attempts", 4)
total_attempts = 0
Expand Down

0 comments on commit 1320d56

Please sign in to comment.