gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: benchmark: output baseline


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: benchmark: output baseline
Date: Thu, 27 Sep 2018 15:17:51 +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 4e06e1dea benchmark: output baseline
4e06e1dea is described below

commit 4e06e1dea7545925e0d52c70ec6522aa48ead9bd
Author: Florian Dold <address@hidden>
AuthorDate: Thu Sep 27 15:16:18 2018 +0200

    benchmark: output baseline
---
 contrib/benchmark/collect.awk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/contrib/benchmark/collect.awk b/contrib/benchmark/collect.awk
index 39bbdf5ac..46ec23d42 100644
--- a/contrib/benchmark/collect.awk
+++ b/contrib/benchmark/collect.awk
@@ -88,4 +88,11 @@ END {
   if (total_ops) {
     print "total_ops_ms", total_ops;
   }
+
+  # Invoke awk with -V baseline_out=<filename> to extract baseline average
+  if (baseline_out) {
+    for (x in op) {
+      print "op_baseline", x, "time_avg_us", avg(op[x]["time_us"], 
op[x]["count"]) > baseline_out
+    }
+  }
 }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]