-code cleanup, some data
authorChristian Grothoff <christian@grothoff.org>
Tue, 9 Dec 2014 21:50:59 +0000 (21:50 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 9 Dec 2014 21:50:59 +0000 (21:50 +0000)
src/scalarproduct/perf_scalarproduct.sh

index 35a6d872c6f237b8882cb6b40bae8848e7b584b3..8e356dbc2a7a1f13a9d8bbe653e99141a0554ebe 100755 (executable)
@@ -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`