projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mention pz:limitmap ; not pz:facetmap
[pazpar2-moved-to-github.git]
/
perf
/
bash
/
par.sh
diff --git
a/perf/bash/par.sh
b/perf/bash/par.sh
index
881e171
..
7072a3f
100755
(executable)
--- a/
perf/bash/par.sh
+++ b/
perf/bash/par.sh
@@
-6,17
+6,25
@@
ROUNDS=5
PORT=9004
SERVICE=perf_t
SHUTDOWN=1
PORT=9004
SERVICE=perf_t
SHUTDOWN=1
+HOST=127.0.0.1
if test -n "$1"; then
. $1
fi
let r=0
if test -n "$1"; then
. $1
fi
let r=0
+if [ "$SETTINGS" != "" ] ; then
+ SETTINGS_OPT="--settings=\"$SETTINGS\" "
+ echo $SETTINGS_OPT
+else
+ unset SETTINGS_OPT
+fi
+
while test $r -lt $ROUNDS; do
echo "$r"
let i=0
while test $i -lt $NUMBER; do
while test $r -lt $ROUNDS; do
echo "$r"
let i=0
while test $i -lt $NUMBER; do
- ./client.sh --outfile=$r.$i --prefix=http://localhost:${PORT}/search.pz2 --service=$SERVICE >$r.$i.log 2>&1 &
- sleep $DELAY
- let i=$i+1
+ ./pp2client.sh --outfile=$r.$i --prefix=http://$HOST:${PORT}/search.pz2 --service=$SERVICE $SETTINGS_OPT >$r.$i.log 2>&1 &
+ sleep $DELAY
+ let i=$i+1
done
sleep $WAIT
let r=$r+1
done
sleep $WAIT
let r=$r+1