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
|
#!/bin/sh
|
||||||
|
cd "`dirname $0`"
|
||||||
S=`date "+%s"`
|
S=`date "+%s"`
|
||||||
C=0
|
C=0
|
||||||
for N in `cat searchtest.words`; do
|
for N in `cat searchtest.words`; do
|
||||||
curl -s "http://localhost:8080/yacysearch.rss?query=$N&resource=local&verify=false" | grep link
|
echo search for $N:
|
||||||
C=$(($C+1))
|
./localsearch.sh $N
|
||||||
|
C=$(($C+1))
|
||||||
done
|
done
|
||||||
T=`date "+%s"`
|
T=`date "+%s"`
|
||||||
echo runtime = $(($T-$S)) seconds, count = $C, time per query = $((1000*($T-$S)/$C)) milliseconds
|
echo runtime = $(($T-$S)) seconds, count = $C, time per query = $((1000*($T-$S)/$C)) milliseconds
|
||||||
|
Loading…
Reference in new issue