diff options
Diffstat (limited to 'src/scalarproduct/perf_scalarproduct.sh')
-rwxr-xr-x | src/scalarproduct/perf_scalarproduct.sh | 13 |
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: | ||
4 | SIZE=1000 | 11 | SIZE=1000 |
12 | # | ||
13 | # Construct input vectors: | ||
5 | INPUTALICE="-k CCC -e '" | 14 | INPUTALICE="-k CCC -e '" |
6 | INPUTBOB="-k CCC -e '" | 15 | INPUTBOB="-k CCC -e '" |
7 | for X in `seq 1 $SIZE` | 16 | for X in `seq 1 $SIZE` |