Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
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
Stefane Fermigier
neo
Commits
cbe38684
Commit
cbe38684
authored
Sep 05, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
8c6d979a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
21 deletions
+33
-21
go/neo/t/t.sh
go/neo/t/t.sh
+33
-21
No files found.
go/neo/t/t.sh
View file @
cbe38684
...
...
@@ -55,8 +55,9 @@ Spy() {
# Sgo <data.fs> - spawn NEO/go storage
Sgo
()
{
# -alsologtostderr
exec
-a
Sgo
\
neo
-log_dir
=
$log
-alsologtostderr
storage
-cluster
=
$cluster
-bind
=
$Sbind
-masters
=
$Mbind
$@
&
neo
-log_dir
=
$log
storage
-cluster
=
$cluster
-bind
=
$Sbind
-masters
=
$Mbind
$@
&
}
...
...
@@ -214,7 +215,6 @@ GENsql
wait
sync
exit
N
=
`
seq
2
`
# XXX repeat benchmarks N time
...
...
@@ -223,6 +223,10 @@ bench1() {
url
=
$1
time
demo-zbigarray
read
$url
./zsha1.py
$url
if
[[
$url
==
zeo://
*
]]
;
then
echo
"(skipping zsha1.go on ZEO -- Cgo does not support zeo:// protocol)"
return
fi
go run zsha1.go
$url
# TODO zsha1.go -prefetch=1
}
...
...
@@ -232,29 +236,37 @@ 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
# 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
echo
-e
"
\n
*** NEO/go"
NEOgo
for
i
in
$N
;
do
bench1 neo://
$cluster
@
$Mbind
done
xneoctl
set
cluster stopping
xmysql
-e
"SHUTDOWN"
wait
exit
...
...
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