Skip to content

Commit 1320d56

Browse files
authored
Remove pair-counts from specialization stats. (GH-31500)
1 parent 9058a35 commit 1320d56

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Tools/scripts/summarize_stats.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,13 @@ def print_specialization_stats(name, family_stats, defines):
4242
label = key[len("specialization."):]
4343
elif key == "execution_count":
4444
label = "unquickened"
45+
elif key in ("specialization.success", "specialization.failure", "specializable"):
46+
continue
47+
elif key.startswith("pair"):
48+
continue
4549
else:
4650
label = key
47-
if key not in ("specialization.success", "specialization.failure", "specializable"):
48-
rows.append((f"{label:>12}", f"{family_stats[key]:>12}", f"{100*family_stats[key]/total:0.1f}%"))
51+
rows.append((f"{label:>12}", f"{family_stats[key]:>12}", f"{100*family_stats[key]/total:0.1f}%"))
4952
emit_table(("Kind", "Count", "Ratio"), rows)
5053
print_title("Specialization attempts", 4)
5154
total_attempts = 0

0 commit comments

Comments
 (0)