Commit b655da26 authored by Kirill Smelkov's avatar Kirill Smelkov

X save time not benchmarking things we do not show

parent a1dde3c9
...@@ -909,8 +909,8 @@ bench_cpu() { ...@@ -909,8 +909,8 @@ bench_cpu() {
nrun sh -c "python -m test.pystone |tail -1 |sed -e \ nrun sh -c "python -m test.pystone |tail -1 |sed -e \
\"s|^This machine benchmarks at \([0-9.]\+\) pystones/second$|Benchmarkpystone 1 \1 pystone/s|\"" \"s|^This machine benchmarks at \([0-9.]\+\) pystones/second$|Benchmarkpystone 1 \1 pystone/s|\""
sizev="1024 4096 $((2*1024*1024))" sizev="4096" # 1024 $((2*1024*1024))
benchv="adler32 crc32 sha1" benchv="crc32 sha1" # adler32
for bench in $benchv; do for bench in $benchv; do
for size in $sizev; do for size in $sizev; do
nrun tcpu.py $bench $size nrun tcpu.py $bench $size
...@@ -918,7 +918,7 @@ bench_cpu() { ...@@ -918,7 +918,7 @@ bench_cpu() {
done done
done done
datav="null-1K null-4K null-2M wczdata prod1-avg prod1-max" datav="wczdata prod1-avg" # null-1K null-4K null-2M prod1-max
for data in $datav; do for data in $datav; do
nrun tcpu.py unzlib $data nrun tcpu.py unzlib $data
nrun tcpu_go unzlib $data nrun tcpu_go unzlib $data
...@@ -941,8 +941,7 @@ Benchmark$1-avg 1 \\3 \\4/op\ ...@@ -941,8 +941,7 @@ Benchmark$1-avg 1 \\3 \\4/op\
|" |"
} }
#sizev="1K 4K 1M 2M" sizev="4K" # 2M (XXX it is not linear, but we save benchmarking time for now)
sizev="4K 2M"
benchtime=3s benchtime=3s
for size in $sizev; do for size in $sizev; do
...@@ -1138,11 +1137,12 @@ zbench_local() { ...@@ -1138,11 +1137,12 @@ zbench_local() {
kill $Zpy_job kill $Zpy_job
wait $Zpy_job wait $Zpy_job
echo -e "\n*** NEO/py sqlite" # XXX save time - we show only neo/py(!log)/sqlite
NEOpylite #echo -e "\n*** NEO/py sqlite"
zbench neo://$neocluster@$Mbind neo/py/sqlite $zhashok #NEOpylite
xneoctl set cluster stopping #zbench neo://$neocluster@$Mbind neo/py/sqlite $zhashok
wait #xneoctl set cluster stopping
#wait
# XXX JM asked to also have NEO/py with logging disabled # XXX JM asked to also have NEO/py with logging disabled
echo -e "\n*** NEO/py sqlite (logging disabled)" echo -e "\n*** NEO/py sqlite (logging disabled)"
...@@ -1151,12 +1151,13 @@ zbench_local() { ...@@ -1151,12 +1151,13 @@ zbench_local() {
xneoctl set cluster stopping xneoctl set cluster stopping
wait wait
echo -e "\n*** NEO/py sql" # XXX save time - we show only neo/py(!log)/sql
NEOpysql #echo -e "\n*** NEO/py sql"
zbench neo://$neocluster@$Mbind neo/py/sql $zhashok #NEOpysql
xneoctl set cluster stopping #zbench neo://$neocluster@$Mbind neo/py/sql $zhashok
xmysql -e "SHUTDOWN" #xneoctl set cluster stopping
wait #xmysql -e "SHUTDOWN"
#wait
# XXX JM asked to also have NEO/py with logging disabled # XXX JM asked to also have NEO/py with logging disabled
echo -e "\n*** NEO/py sql (logging disabled)" echo -e "\n*** NEO/py sql (logging disabled)"
...@@ -1249,11 +1250,12 @@ zbench_cluster() { ...@@ -1249,11 +1250,12 @@ zbench_cluster() {
kill $Zpy_job kill $Zpy_job
wait $Zpy_job wait $Zpy_job
echo -e "\n*** NEO/py sqlite" # XXX save time - we show only neo/py(!log)/sqlite
NEOpylite #echo -e "\n*** NEO/py sqlite"
on $url ./neotest zbench-client neo://$neocluster@$Mbind neo/py/sqlite $zhashok #NEOpylite
xneoctl set cluster stopping #on $url ./neotest zbench-client neo://$neocluster@$Mbind neo/py/sqlite $zhashok
wait #xneoctl set cluster stopping
#wait
# XXX JM asked to also have NEO/py with logging disabled # XXX JM asked to also have NEO/py with logging disabled
echo -e "\n*** NEO/py sqlite (logging disabled)" echo -e "\n*** NEO/py sqlite (logging disabled)"
...@@ -1262,12 +1264,13 @@ zbench_cluster() { ...@@ -1262,12 +1264,13 @@ zbench_cluster() {
xneoctl set cluster stopping xneoctl set cluster stopping
wait wait
echo -e "\n*** NEO/py sql" # XXX save time - we show only neo/py(!log)/sql
NEOpysql #echo -e "\n*** NEO/py sql"
on $url ./neotest zbench-client neo://$neocluster@$Mbind neo/py/sql $zhashok #NEOpysql
xneoctl set cluster stopping #on $url ./neotest zbench-client neo://$neocluster@$Mbind neo/py/sql $zhashok
xmysql -e "SHUTDOWN" #xneoctl set cluster stopping
wait #xmysql -e "SHUTDOWN"
#wait
# XXX JM asked to also have NEO/py with logging disabled # XXX JM asked to also have NEO/py with logging disabled
echo -e "\n*** NEO/py sql (logging disabled)" echo -e "\n*** NEO/py sql (logging disabled)"
......
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