summaryrefslogtreecommitdiff
path: root/testsuite/driver/runtests.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/driver/runtests.py')
-rw-r--r--testsuite/driver/runtests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/driver/runtests.py b/testsuite/driver/runtests.py
index d3bc1737fe..c1aff0bf0f 100644
--- a/testsuite/driver/runtests.py
+++ b/testsuite/driver/runtests.py
@@ -349,13 +349,13 @@ def tabulate_metrics(metrics: List[PerfMetric]) -> None:
val0 = metric.baseline.perfStat.value
val1 = metric.stat.value
rel = 100 * (val1 - val0) / val0
- print("{space:24} {herald:40} {value:15.3f} [{direction} {rel:2.1f}%]".format(
+ print("{space:24} {herald:40} {value:15.3f} [{direction}, {rel:2.1f}%]".format(
space = "",
herald = "(baseline @ HEAD~{depth})".format(
depth = metric.baseline.commitDepth),
value = val0,
direction = metric.change,
- rel = abs(rel)
+ rel = rel
))
# First collect all the tests to be run