diff options
author | Michael Droettboom <mdboom@gmail.com> | 2022-11-30 19:17:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-30 19:17:08 (GMT) |
commit | bf94c653f4291ba2db506453e0e00a82fe06b70a (patch) | |
tree | f43f4f63ea7c4ec93606b0a1826668b143b0154e | |
parent | 131801d14dfc4f0b2b79103612c88e2e282ff158 (diff) | |
download | cpython-bf94c653f4291ba2db506453e0e00a82fe06b70a.zip cpython-bf94c653f4291ba2db506453e0e00a82fe06b70a.tar.gz cpython-bf94c653f4291ba2db506453e0e00a82fe06b70a.tar.bz2 |
GH-99905: Fix output of misses in summarize_stats.py execution counts (GH-99906)
This was an indentation error introduced in 2844aa6a
-rw-r--r-- | Tools/scripts/summarize_stats.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/scripts/summarize_stats.py b/Tools/scripts/summarize_stats.py index 8d91bda..9c09806 100644 --- a/Tools/scripts/summarize_stats.py +++ b/Tools/scripts/summarize_stats.py @@ -317,11 +317,11 @@ def calculate_execution_counts(opcode_stats, total): for (count, name, miss) in counts: cumulative += count if miss: - miss = f"{100*miss/count:0.1f}%" + miss = f"{100*miss/count:0.1f}%" else: miss = "" - rows.append((name, count, f"{100*count/total:0.1f}%", - f"{100*cumulative/total:0.1f}%", miss)) + rows.append((name, count, f"{100*count/total:0.1f}%", + f"{100*cumulative/total:0.1f}%", miss)) return rows def emit_execution_counts(opcode_stats, total): |