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
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
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
Hide 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() {
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|
\"
"
sizev
=
"
1024 4096
$((
2
*
1024
*
1024
))
"
benchv
=
"
adler32 crc32 sha1"
sizev
=
"
4096"
# 1024 $((2*1024*1024))
benchv
=
"
crc32 sha1"
# adler32
for
bench
in
$benchv
;
do
for
size
in
$sizev
;
do
nrun tcpu.py
$bench
$size
...
...
@@ -918,7 +918,7 @@ bench_cpu() {
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
nrun tcpu.py unzlib
$data
nrun tcpu_go unzlib
$data
...
...
@@ -941,8 +941,7 @@ Benchmark$1-avg 1 \\3 \\4/op\
|"
}
#sizev="1K 4K 1M 2M"
sizev
=
"4K 2M"
sizev
=
"4K"
# 2M (XXX it is not linear, but we save benchmarking time for now)
benchtime
=
3s
for
size
in
$sizev
;
do
...
...
@@ -1138,11 +1137,12 @@ zbench_local() {
kill
$Zpy_job
wait
$Zpy_job
echo
-e
"
\n
*** NEO/py sqlite"
NEOpylite
zbench neo://
$neocluster
@
$Mbind
neo/py/sqlite
$zhashok
xneoctl
set
cluster stopping
wait
# XXX save time - we show only neo/py(!log)/sqlite
#echo -e "\n*** NEO/py sqlite"
#NEOpylite
#zbench neo://$neocluster@$Mbind neo/py/sqlite $zhashok
#xneoctl set cluster stopping
#wait
# XXX JM asked to also have NEO/py with logging disabled
echo
-e
"
\n
*** NEO/py sqlite (logging disabled)"
...
...
@@ -1151,12 +1151,13 @@ zbench_local() {
xneoctl
set
cluster stopping
wait
echo
-e
"
\n
*** NEO/py sql"
NEOpysql
zbench neo://
$neocluster
@
$Mbind
neo/py/sql
$zhashok
xneoctl
set
cluster stopping
xmysql
-e
"SHUTDOWN"
wait
# XXX save time - we show only neo/py(!log)/sql
#echo -e "\n*** NEO/py sql"
#NEOpysql
#zbench neo://$neocluster@$Mbind neo/py/sql $zhashok
#xneoctl set cluster stopping
#xmysql -e "SHUTDOWN"
#wait
# XXX JM asked to also have NEO/py with logging disabled
echo
-e
"
\n
*** NEO/py sql (logging disabled)"
...
...
@@ -1249,11 +1250,12 @@ zbench_cluster() {
kill
$Zpy_job
wait
$Zpy_job
echo
-e
"
\n
*** NEO/py sqlite"
NEOpylite
on
$url
./neotest zbench-client neo://
$neocluster
@
$Mbind
neo/py/sqlite
$zhashok
xneoctl
set
cluster stopping
wait
# XXX save time - we show only neo/py(!log)/sqlite
#echo -e "\n*** NEO/py sqlite"
#NEOpylite
#on $url ./neotest zbench-client neo://$neocluster@$Mbind neo/py/sqlite $zhashok
#xneoctl set cluster stopping
#wait
# XXX JM asked to also have NEO/py with logging disabled
echo
-e
"
\n
*** NEO/py sqlite (logging disabled)"
...
...
@@ -1262,12 +1264,13 @@ zbench_cluster() {
xneoctl
set
cluster stopping
wait
echo
-e
"
\n
*** NEO/py sql"
NEOpysql
on
$url
./neotest zbench-client neo://
$neocluster
@
$Mbind
neo/py/sql
$zhashok
xneoctl
set
cluster stopping
xmysql
-e
"SHUTDOWN"
wait
# XXX save time - we show only neo/py(!log)/sql
#echo -e "\n*** NEO/py sql"
#NEOpysql
#on $url ./neotest zbench-client neo://$neocluster@$Mbind neo/py/sql $zhashok
#xneoctl set cluster stopping
#xmysql -e "SHUTDOWN"
#wait
# XXX JM asked to also have NEO/py with 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