Commit 5c75ca07 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 22c5217d
...@@ -973,34 +973,36 @@ Benchmark$1-avg 1 \\2 ms/op\ ...@@ -973,34 +973,36 @@ Benchmark$1-avg 1 \\2 ms/op\
install_trap install_trap
gen_data gen_data
zhashok=`cat $var/zhash.ok`
echo -e "\n*** ZEO" echo -e "\n*** ZEO"
Zpy $fs1/data.fs Zpy $fs1/data.fs
on $url ./neotest run-client "`hostname`-$peer/zeo" zeo://$Zbind on $url ./neotest run-client zeo://$Zbind "`hostname`-$peer/zeo" $zhashok
killall runzeo killall runzeo
wait wait
echo -e "\n*** NEO/py sqlite" echo -e "\n*** NEO/py sqlite"
NEOpylite NEOpylite
on $url ./neotest run-client "`hostname`-$peer/neo/py/sqlite" neo://$cluster@$Mbind on $url ./neotest run-client neo://$cluster@$Mbind" `hostname`-$peer/neo/py/sqlite" $zhashok
xneoctl set cluster stopping xneoctl set cluster stopping
wait wait
echo -e "\n*** NEO/py sql" echo -e "\n*** NEO/py sql"
NEOpysql NEOpysql
on $url ./neotest run-client "`hostname`-$peer/neo/py/sql" neo://$cluster@$Mbind on $url ./neotest run-client neo://$cluster@$Mbind "`hostname`-$peer/neo/py/sql" $zhashok
xneoctl set cluster stopping xneoctl set cluster stopping
xmysql -e "SHUTDOWN" xmysql -e "SHUTDOWN"
wait wait
echo -e "\n*** NEO/go" echo -e "\n*** NEO/go"
NEOgo NEOgo
on $url ./neotest run-client "`hostname`-$peer/neo/go" neo://$cluster@$Mbind on $url ./neotest run-client neo://$cluster@$Mbind "`hostname`-$peer/neo/go" $zhashok
xneoctl set cluster stopping xneoctl set cluster stopping
wait wait
echo -e "\n*** NEO/go (sha1 disabled)" echo -e "\n*** NEO/go (sha1 disabled)"
X_NEOGO_SHA1_SKIP=y NEOgo X_NEOGO_SHA1_SKIP=y NEOgo
on $url X_NEOGO_SHA1_SKIP=y ./neotest run-client --goonly "\\\"`hostname`-$peer/neo/go(!sha1)\\\"" neo://$cluster@$Mbind on $url X_NEOGO_SHA1_SKIP=y ./neotest run-client --goonly neo://$cluster@$Mbind "\\\"`hostname`-$peer/neo/go(!sha1)\\\"" $zhashok
xneoctl set cluster stopping xneoctl set cluster stopping
wait wait
...@@ -1019,11 +1021,12 @@ cmd_run-client() { ...@@ -1019,11 +1021,12 @@ cmd_run-client() {
;; ;;
esac esac
topic=$1 url=$1
url=$2 topic=$2
test -z "$topic" -o -z "$url" && die "Usage: neotest run-client <topic> <url>" zhashok=$3
test -z "$url" -o -z "$topic" -o -z "$zhashok" && die "Usage: neotest run-client <url> <topic> <zhashok>"
test -z "$goonly" && zbench $topic $url || zbench_go $topic $url test -z "$goonly" && zbench $url $topic $zhashok || zbench_go $url $topic $zhashok
} }
# command: benchmark local disk # command: benchmark local disk
......
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