From b5e2fc08571dd50208f485476f3072427e3916e9 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 27 Sep 2018 15:28:30 +0200 Subject: [PATCH] benchmark: there is just one adjusted total --- contrib/benchmark/collect.awk | 6 ++---- 1 file 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; } } -- 2.25.1