aboutsummaryrefslogtreecommitdiff
path: root/contrib/benchmark
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/benchmark')
-rw-r--r--contrib/benchmark/collect.awk4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/benchmark/collect.awk b/contrib/benchmark/collect.awk
index b1e5977fd..39bbdf5ac 100644
--- a/contrib/benchmark/collect.awk
+++ b/contrib/benchmark/collect.awk
@@ -40,6 +40,7 @@ function abs(v) {
40 if (n > 0) { 40 if (n > 0) {
41 op[$2]["time_us_sq"] += n * (t/n) * (t/n); 41 op[$2]["time_us_sq"] += n * (t/n) * (t/n);
42 } 42 }
43 total_ops += t;
43 } else if ($1 == "url") { 44 } else if ($1 == "url") {
44 n = $6; 45 n = $6;
45 t = $8; 46 t = $8;
@@ -84,4 +85,7 @@ END {
84 "time_us_max", url[x][y]["time_us_max"]; 85 "time_us_max", url[x][y]["time_us_max"];
85 } 86 }
86 } 87 }
88 if (total_ops) {
89 print "total_ops_ms", total_ops;
90 }
87} 91}