[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: benchmark: output adjusted
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: benchmark: output adjusted total time |
Date: |
Thu, 27 Sep 2018 15:27:26 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new f885cf063 benchmark: output adjusted total time
f885cf063 is described below
commit f885cf0630c3322cf00a9add64e6bf16bea663bc
Author: Florian Dold <address@hidden>
AuthorDate: Thu Sep 27 15:25:53 2018 +0200
benchmark: output adjusted total time
---
contrib/benchmark/collect.awk | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/contrib/benchmark/collect.awk b/contrib/benchmark/collect.awk
index 46ec23d42..b88b3dc7d 100644
--- a/contrib/benchmark/collect.awk
+++ b/contrib/benchmark/collect.awk
@@ -51,6 +51,11 @@ function abs(v) {
}
max = url[$2][$4]["time_us_max"];
url[$2][$4]["time_us_max"] = (t/n > max ? t/n : max)
+ } else if ($1 == "op_baseline") {
+ # take average time for operations from baseline values with format:
+ # op_baseline <opname> time_avg_us <t>
+ op_baseline[$2] = $4;
+ have_baseline = 1;
}
}
@@ -95,4 +100,13 @@ END {
print "op_baseline", x, "time_avg_us", avg(op[x]["time_us"],
op[x]["count"]) > baseline_out
}
}
+
+ 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];
+ }
+ }
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: benchmark: output adjusted total time,
gnunet <=