summaryrefslogtreecommitdiff
path: root/lab/benchmark/benchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'lab/benchmark/benchmark.py')
-rw-r--r--lab/benchmark/benchmark.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lab/benchmark/benchmark.py b/lab/benchmark/benchmark.py
index af0e33cf..4acebefe 100644
--- a/lab/benchmark/benchmark.py
+++ b/lab/benchmark/benchmark.py
@@ -541,11 +541,11 @@ class Experiment:
key = (*tup, col)
key = tuple(key[i] for i in remap)
result_time = self.result_data[key] # type: ignore
- row.append(f"{result_time:.3f} s")
+ row.append(f"{result_time:.1f} s")
col_data[col] = result_time
for _, num, denom in ratios:
ratio = col_data[num] / col_data[denom]
- row.append(f"{ratio * 100:.2f}%")
+ row.append(f"{ratio * 100:.0f}%")
print(as_table_row(row))