yacy_search_server/bin/searchtest.sh
orbiter 5d7045387b added more word lists and a multi-access search test tool for high-performance query testing:
run searchtestmulti.sh; then 10 concurrent processes fire 1000 requests each to  the local peer.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6045 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-06-10 22:01:48 +00:00

12 lines
258 B
Bash
Executable File

#!/bin/sh
cd "`dirname $0`"
S=`date "+%s"`
C=0
for N in `cat $1`; do
echo search for $N:
./localsearch.sh $N > /dev/null
C=$(($C+1))
done
T=`date "+%s"`
echo runtime = $(($T-$S)) seconds, count = $C, time per query = $((1000*($T-$S)/$C)) milliseconds