From c5b6efe0873727ca88c3bcbfbf2c8f692d97400f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 27 Sep 2018 14:09:32 +0200 Subject: benchmark: collect max correctly this time --- contrib/benchmark/collect.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/benchmark') 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) } } -- cgit v1.2.3