From 3871fc32bbd05da817d94f4188023a4edebc367a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 9 Dec 2014 21:50:59 +0000 Subject: [PATCH] -code cleanup, some data --- src/scalarproduct/perf_scalarproduct.sh | 13 +++++++++++-- 1 file 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` -- 2.25.1