mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +02:00
994c609cf8
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4916 6c8d7289-2bf4-0310-a012-ef5d649a1542
12 lines
260 B
Bash
Executable File
12 lines
260 B
Bash
Executable File
#!/bin/sh
|
|
cd "`dirname $0`"
|
|
S=`date "+%s"`
|
|
C=0
|
|
for N in `cat searchtest.words`; do
|
|
echo search for $N:
|
|
./localsearch.sh $N
|
|
C=$(($C+1))
|
|
done
|
|
T=`date "+%s"`
|
|
echo runtime = $(($T-$S)) seconds, count = $C, time per query = $((1000*($T-$S)/$C)) milliseconds
|