X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=perf%2Fbash%2Fpar.sh;h=b01a265722b9a2c4cc95f5518d8864f1cf982c92;hb=b423d60fdbbfa7fda1cf438dd594b5eb15dc4a5c;hp=236907ff0f145c92de1c50c6c64f0ad62541fe79;hpb=f9fd1939f30660831f6390a91839357133e005ea;p=pazpar2-moved-to-github.git diff --git a/perf/bash/par.sh b/perf/bash/par.sh index 236907f..b01a265 100755 --- a/perf/bash/par.sh +++ b/perf/bash/par.sh @@ -3,6 +3,9 @@ DELAY=0.001 WAIT=5 NUMBER=40 ROUNDS=5 +if test -n "$1"; then + . $1 +fi let r=0 while test $r -lt $ROUNDS; do echo "$r"