git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4916 6c8d7289-2bf4-0310-a012-ef5d649a1542pull/1/head
parent
48edbef5c7
commit
994c609cf8
@ -0,0 +1 @@
|
||||
curl -s "http://localhost:8080/yacysearch.rss?query=$1&resource=local&verify=false" | grep link | grep -v opensearchdescription | grep -v yacysearch | grep -v 'yacy:item' | sed 's/<link>//' | sed 's/<\/link>//'
|
@ -1,9 +1,11 @@
|
||||
#!/bin/sh
|
||||
cd "`dirname $0`"
|
||||
S=`date "+%s"`
|
||||
C=0
|
||||
for N in `cat searchtest.words`; do
|
||||
curl -s "http://localhost:8080/yacysearch.rss?query=$N&resource=local&verify=false" | grep link
|
||||
C=$(($C+1))
|
||||
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
|
||||
|
Loading…
Reference in new issue