summaryrefslogtreecommitdiff
path: root/contrib/benchmark
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-09-26 17:45:04 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-09-26 17:45:04 +0200
commitd691980cefc24464dcd85d8f1fae84d906bd7eb1 (patch)
tree41413ad33e65279aebc10754e0dcb9e6e40c709d /contrib/benchmark
parent1d2d41d821dc9d15d11f8793440760f5cf1ce896 (diff)
benchmark: fix another awk error
Diffstat (limited to 'contrib/benchmark')
-rw-r--r--contrib/benchmark/collect.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/benchmark/collect.awk b/contrib/benchmark/collect.awk
index 482addaa0..62cbc69bc 100644
--- a/contrib/benchmark/collect.awk
+++ b/contrib/benchmark/collect.awk
@@ -48,7 +48,7 @@ function abs(v) {
if (n > 0) {
url[$2][$4]["time_us_sq"] += n * (t/n) * (t/n);
}
- max = url[$2][$4]["time_us_max];
+ max = url[$2][$4]["time_us_max"];
url[$2][$4]["time_us_max"] = (t > max ? t : max)
}
}