author | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-03-21 17:50:50 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-03-21 17:50:50 UTC |
parent | cc303c883dd83d67acbaf31e754847e98ddbfce7 |
tests/perf/ag.sh | +6 | -1 |
diff --git a/tests/perf/ag.sh b/tests/perf/ag.sh index 0ad9320..c572dc6 100755 --- a/tests/perf/ag.sh +++ b/tests/perf/ag.sh @@ -7,6 +7,11 @@ TIMES=5000 # Times parameter used for the tests set -e +if [ "$1" == "" ]; then + COMPARE="*" +else + COMPARE="$@" +fi # aggregate the results prepending the version, but we need a table because # gnuplot doesn't like strings as values @@ -18,7 +23,7 @@ rm -f ../ag-data/* declare -a COMMITS N=0 -for i in *; do +for i in $COMPARE; do COMMITS[$N]=$i for f in 2-tipc-cache.out 3-tipc-cache.out; do while read L; do