From: Dennis Schafroth Date: Tue, 4 May 2010 20:17:26 +0000 (+0200) Subject: New script from dennis_threading branch X-Git-Tag: v1.4.1~37 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=b3f8721332717b25a34dd8e4a688029cebc98ed9;p=pazpar2-moved-to-github.git New script from dennis_threading branch --- diff --git a/perf/bash/range.sh b/perf/bash/range.sh new file mode 100644 index 0000000..d24b2ec --- /dev/null +++ b/perf/bash/range.sh @@ -0,0 +1,21 @@ + +r=$1 +MAX=$2 +PORT=$3 +SERVICE=$4 +RANGE=range +rm -f init.stat search.stat show.stat $RANGE.stat +while test $r -le $MAX ; do + sh par_fixed_clients.sh $r $PORT $SERVICE + sh stat_file.sh $r $SERVICE >> $RANGE.stat + let r=$r+1 +done + +DIR=run_`date +"%Y%m%d_%H%M%S"` +mkdir $DIR +mv *.stat *.log *.time $DIR + +#mv init.stat $PID.init.stat +#mv search.stat $PID.search.stat +#mv show.stat $PID.show.stat +#mv $RANGE.stat $PID.show.stat