summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-09-27 14:09:32 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-09-27 14:09:44 +0200
commitc5b6efe0873727ca88c3bcbfbf2c8f692d97400f (patch)
treeb81976385795593880183ea6ce1d16dcfea6e78d /contrib
parent59f386e0698e28ace6902f5694700b384d3dbf70 (diff)
benchmark: collect max correctly this time
Diffstat (limited to 'contrib')
-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 62cbc69bc..b1e5977fd 100644
--- a/contrib/benchmark/collect.awk
+++ b/contrib/benchmark/collect.awk
@@ -49,7 +49,7 @@ function abs(v) {
url[$2][$4]["time_us_sq"] += n * (t/n) * (t/n);
}
max = url[$2][$4]["time_us_max"];
- url[$2][$4]["time_us_max"] = (t > max ? t : max)
+ url[$2][$4]["time_us_max"] = (t/n > max ? t/n : max)
}
}