We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nedbat
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 2fa45d6 commit 61ccfb8Copy full SHA for 61ccfb8
lab/benchmark/benchmark.py
@@ -541,11 +541,11 @@ def as_table_row(vals):
541
key = (*tup, col)
542
key = tuple(key[i] for i in remap)
543
result_time = self.result_data[key] # type: ignore
544
- row.append(f"{result_time:.3f} s")
+ row.append(f"{result_time:.1f} s")
545
col_data[col] = result_time
546
for _, num, denom in ratios:
547
ratio = col_data[num] / col_data[denom]
548
- row.append(f"{ratio * 100:.2f}%")
+ row.append(f"{ratio * 100:.0f}%")
549
print(as_table_row(row))
550
551
0 commit comments