aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct/perf_scalarproduct.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/scalarproduct/perf_scalarproduct.sh')
-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 @@
1#!/bin/bash 1#!/bin/bash
2# compute a simple scalar product 2# Computes a simple scalar product, with configurable vector size.
3# payload for this test: 3#
4# Some results:
5# SIZE TIME(s)
6# 25 10
7# 50 17
8# 100 32
9#
10# Configure benchmark size:
4SIZE=1000 11SIZE=1000
12#
13# Construct input vectors:
5INPUTALICE="-k CCC -e '" 14INPUTALICE="-k CCC -e '"
6INPUTBOB="-k CCC -e '" 15INPUTBOB="-k CCC -e '"
7for X in `seq 1 $SIZE` 16for X in `seq 1 $SIZE`