Skip to content

Commit 4fde5b4

Browse files
committed
Include commas in histogram bins
1 parent fd210ca commit 4fde5b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tools/scripts/summarize_stats.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -826,10 +826,10 @@ def calculate_rows(self, stats: Stats) -> Rows:
826826
if v != 0:
827827
last_non_zero = len(rows)
828828
rows.append(
829-
(f"<= {entry}", Count(v), Ratio(int(v), stats[self.den]))
829+
(f"<= {entry:,d}", Count(v), Ratio(int(v), stats[self.den]))
830830
)
831831
# Don't include any zero entries at the end
832-
rows = rows[:last_non_zero + 1]
832+
rows = rows[: last_non_zero + 1]
833833
return rows
834834

835835
class UnsupportedOpcodesTable(SimpleChangeTable):

0 commit comments

Comments
 (0)