summaryrefslogtreecommitdiff
path: root/src/scalarproduct/perf_scalarproduct.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-11 21:55:36 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-11 21:55:36 +0000
commitaddd20663f6f7ccdd666af0bc07b41c384e956a2 (patch)
tree699b69ec8adde0972ef57b3e7b6737b7ee66ad92 /src/scalarproduct/perf_scalarproduct.sh
parentdcc098d1fdefcb74bed0a6ff6f81347500367ab6 (diff)
-fix bugs
Diffstat (limited to 'src/scalarproduct/perf_scalarproduct.sh')
-rwxr-xr-xsrc/scalarproduct/perf_scalarproduct.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/scalarproduct/perf_scalarproduct.sh b/src/scalarproduct/perf_scalarproduct.sh
index 8e356dbc2..29b7b0f3f 100755
--- a/src/scalarproduct/perf_scalarproduct.sh
+++ b/src/scalarproduct/perf_scalarproduct.sh
@@ -2,13 +2,15 @@
# Computes a simple scalar product, with configurable vector size.
#
# Some results:
-# SIZE TIME(s)
+# SIZE TIME-H(s) TIME-O(s)
# 25 10
# 50 17
-# 100 32
+# 100 32 39
+# 200 77
+#
#
# Configure benchmark size:
-SIZE=1000
+SIZE=400
#
# Construct input vectors:
INPUTALICE="-k CCC -e '"
@@ -45,6 +47,8 @@ PEERIDBOB=`gnunet-peerinfo -qs $CFGBOB`
echo "Running problem of size $SIZE"
gnunet-scalarproduct $CFGBOB $INPUTBOB &
time RESULT=`gnunet-scalarproduct $CFGALICE $INPUTALICE -p $PEERIDBOB`
+gnunet-statistics $CFGALICE -s core | grep "bytes encrypted"
+gnunet-statistics $CFGBOB -s core | grep "bytes encrypted"
echo "Terminating testbed..."
# terminate the testbed