summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-09 21:50:59 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-09 21:50:59 +0000
commit3871fc32bbd05da817d94f4188023a4edebc367a (patch)
tree6a6be95d40d928b85ad71110ddc95695b6b4e87c
parent02102b75a9664460555ae0947350582293465abd (diff)
-code cleanup, some data
-rwxr-xr-xsrc/scalarproduct/perf_scalarproduct.sh13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/scalarproduct/perf_scalarproduct.sh b/src/scalarproduct/perf_scalarproduct.sh
index 35a6d872c..8e356dbc2 100755
--- a/src/scalarproduct/perf_scalarproduct.sh
+++ b/src/scalarproduct/perf_scalarproduct.sh
@@ -1,7 +1,16 @@
#!/bin/bash
-# compute a simple scalar product
-# payload for this test:
+# Computes a simple scalar product, with configurable vector size.
+#
+# Some results:
+# SIZE TIME(s)
+# 25 10
+# 50 17
+# 100 32
+#
+# Configure benchmark size:
SIZE=1000
+#
+# Construct input vectors:
INPUTALICE="-k CCC -e '"
INPUTBOB="-k CCC -e '"
for X in `seq 1 $SIZE`