projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f885cf0
)
benchmark: there is just one adjusted total
author
Florian Dold
<florian.dold@gmail.com>
Thu, 27 Sep 2018 13:28:30 +0000
(15:28 +0200)
committer
Florian Dold
<florian.dold@gmail.com>
Thu, 27 Sep 2018 13:28:30 +0000
(15:28 +0200)
contrib/benchmark/collect.awk
patch
|
blob
|
history
diff --git
a/contrib/benchmark/collect.awk
b/contrib/benchmark/collect.awk
index b88b3dc7da5eab738764defb7910b518c30df0d2..5afa093e2383e798565f50deab1c6e95fb9c801a 100644
(file)
--- 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;
}
}