From: Dennis Schafroth Date: Fri, 18 Feb 2011 10:19:00 +0000 (+0100) Subject: repeated rounds of incresing users X-Git-Tag: v1.5.3~3 X-Git-Url: http://jsfdemo.indexdata.com/?a=commitdiff_plain;h=62255b604138c1b4db14427967d543b85f892270;p=pazpar2-moved-to-github.git repeated rounds of incresing users --- diff --git a/perf/bash/par_fixed_count.sh b/perf/bash/par_fixed_count.sh new file mode 100644 index 0000000..461ce06 --- /dev/null +++ b/perf/bash/par_fixed_count.sh @@ -0,0 +1,16 @@ + +if [ "$2" == "" ] ; then + echo "Missing range" + exit 1 +fi + +LOOP=$3 +if [ "$3" == "" ] ; then + LOOP=1 +fi + +for e in `seq $LOOP` ; do + for d in `seq $1 $2` ; do + sh ./par_fixed_clients.sh $d 9005 perf_t ; sleep 120 ; + done +done