You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
292 B
10 lines
292 B
![]()
17 years ago
|
#!/bin/sh
|
||
|
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))
|
||
|
done
|
||
|
T=`date "+%s"`
|
||
|
echo runtime = $(($T-$S)) seconds, count = $C, time per query = $((1000*($T-$S)/$C)) milliseconds
|