X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=perf%2Fbash%2Fpar.sh;h=881e171209f051aa70a2506e3e80cda20b02c69f;hb=6759cc35534418d2409167b1ec25d8a978dab282;hp=3df80a3de5609e93f29e3343bc6566a58c628c41;hpb=c44be5cbd65ece442d632e0cc5cae71620ba543d;p=pazpar2-moved-to-github.git diff --git a/perf/bash/par.sh b/perf/bash/par.sh index 3df80a3..881e171 100755 --- a/perf/bash/par.sh +++ b/perf/bash/par.sh @@ -1,7 +1,7 @@ #!/bin/bash DELAY=0.001 WAIT=5 -NUMBER=10 +NUMBER=5 ROUNDS=5 PORT=9004 SERVICE=perf_t @@ -14,7 +14,7 @@ while test $r -lt $ROUNDS; do echo "$r" let i=0 while test $i -lt $NUMBER; do - ./client.sh $r.$i $PORT $SERVICE >$r.$i.log 2>&1 & + ./client.sh --outfile=$r.$i --prefix=http://localhost:${PORT}/search.pz2 --service=$SERVICE >$r.$i.log 2>&1 & sleep $DELAY let i=$i+1 done @@ -23,5 +23,5 @@ while test $r -lt $ROUNDS; do done wait if [ "$SHUTDOWN" == "1" ] ; then - wget -O x "http://localhost:${PORT}/?command=exit" + wget -O x "http://localhost:${PORT}/search.pz2?command=exit" fi