Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
b655da26
Commit
b655da26
authored
Mar 05, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X save time not benchmarking things we do not show
parent
a1dde3c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
27 deletions
+30
-27
go/neo/t/neotest
go/neo/t/neotest
+30
-27
No files found.
go/neo/t/neotest
View file @
b655da26
...
@@ -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)"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment