Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
added a test script for profiling of local search speed and a list of search words current result: 120 milliseconds for a single search during a sequence of 100 searches, while the crawler is running with 500 PPM!
orbitere9dd0e6831a1
diff --git a/bin/searchtest.sh b/bin/searchtest.shnew file mode 100755index 000000000..9d54e3ef1--- /dev/null+++ b/bin/searchtest.sh@@ -0,0 +1,9 @@+#!/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)) millisecondsdiff --git a/bin/searchtest.words b/bin/searchtest.wordsnew file mode 100644index 000000000..c290b75d4--- /dev/null+++ b/bin/searchtest.words@@ -0,0 +1,100 @@+360+aol+apple+audi+audio+berlin+blog+bmw+boing+book+bug+cent+coach+debian+dell+dfki+distance+dollar+ebay+emacs+enter+error+euro+exchange+firefox+foaf+forum+foundation+free+games+gas+gif+global+gnu+god+gpl+hacker+hosting+hot+hotel+html+ibm+icq+iphone+ipod+java+jpeg+jpg+laptop+linux+local+london+map+message+microsoft+mp3+mpeg+myspace+naruto+new+news+notebook+open+p2p+paris+php+png+pokemon+poker+price+psp+san+search+software+source+star+statistics+stock+street+tech+tips+tokio+trek+ubuntu+unix+war+web+welcome+widget+wii+wikipedia+windows+wwe+www+xbox+yacy+york+youtube