Commit 8c6d979a authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 38eeee80
...@@ -211,13 +211,55 @@ GENfs ...@@ -211,13 +211,55 @@ GENfs
GENsqlite GENsqlite
GENsql GENsql
echo ZZZ
wait wait
sync
exit exit
N=`seq 2` # XXX repeat benchmarks N time
# time1 <url> - run benchmarks on the URL once
bench1() {
url=$1
time demo-zbigarray read $url
./zsha1.py $url
go run zsha1.go $url
# TODO zsha1.go -prefetch=1
}
echo -e "\n*** FileStorage"
for i in $N; do
bench1 $fs1/data.fs
done
echo -e "\n*** ZEO"
Zpy $fs1/data.fs
for i in $N; do
bench1 zeo://$Zbind
done
killall runzeo
wait
echo -e "\n*** NEO/py sqlite"
NEOpylite
for i in $N; do
bench1 neo://$cluster@$Mbind
done
xneoctl set cluster stopping
wait
echo -e "\n*** NEO/py sql"
NEOpysql
for i in $N; do
bench1 neo://$cluster@$Mbind
done
xneoctl set cluster stopping
xmysql -e "SHUTDOWN"
wait
exit
#genfs # ----------------------------------------
#time demo-zbigarray read $fs1/data.fs
#Zpy $fs1/data.fs #Zpy $fs1/data.fs
#sleep 1 #sleep 1
...@@ -227,12 +269,10 @@ exit ...@@ -227,12 +269,10 @@ exit
## sleep 0.2 ## sleep 0.2
#Sgo $fs1/data.fs #Sgo $fs1/data.fs
#gensqlite
#gensql
neopylite NEOpylite
#neopysql #NEOpysql
#time demo-zbigarray read neo://$cluster@$Mbind #time demo-zbigarray read neo://$cluster@$Mbind
for i in `seq 2`; do for i in `seq 2`; do
./zsha1.py neo://$cluster@$Mbind ./zsha1.py neo://$cluster@$Mbind
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment