Skip to content

Commit

Permalink
Include commas in histogram bins
Browse files Browse the repository at this point in the history
  • Loading branch information
mdboom committed Oct 5, 2023
1 parent 4925c33 commit 901b952
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/scripts/summarize_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,10 +831,10 @@ def calculate_rows(self, stats: Stats) -> Rows:
if v != 0:
last_non_zero = len(rows)
rows.append(
(f"<= {entry}", Count(v), Ratio(int(v), stats[self.den]))
(f"<= {entry:,d}", Count(v), Ratio(int(v), stats[self.den]))
)
# Don't include any zero entries at the end
rows = rows[:last_non_zero + 1]
rows = rows[: last_non_zero + 1]
return rows

class UnsupportedOpcodesTable(SimpleChangeTable):
Expand Down

0 comments on commit 901b952

Please sign in to comment.