summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-09-27 15:28:30 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-09-27 15:28:30 +0200
commitb5e2fc08571dd50208f485476f3072427e3916e9 (patch)
tree17bd3160013fbec094a92a77012ea2bbb3917cb3 /contrib
parentf885cf0630c3322cf00a9add64e6bf16bea663bc (diff)
benchmark: there is just one adjusted total
Diffstat (limited to 'contrib')
-rw-r--r--contrib/benchmark/collect.awk6
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/benchmark/collect.awk b/contrib/benchmark/collect.awk
index b88b3dc7d..5afa093e2 100644
--- a/contrib/benchmark/collect.awk
+++ b/contrib/benchmark/collect.awk
@@ -103,10 +103,8 @@ END {
if (have_baseline) {
for (x in op) {
- total_ops_adjusted[x] = op_baseline[x] * op[x]["count"];
- }
- for (x in op) {
- print "total_ops_adjusted_ms", total_ops_adjusted[x];
+ total_ops_adjusted += op_baseline[x] * op[x]["count"];
}
+ print "total_ops_adjusted_ms", total_ops_adjusted;
}
}