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
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() {
...
@@ -55,8 +55,9 @@ Spy() {
# Sgo <data.fs> - spawn NEO/go storage
# Sgo <data.fs> - spawn NEO/go storage
Sgo
()
{
Sgo
()
{
# -alsologtostderr
exec
-a
Sgo
\
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
...
@@ -214,7 +215,6 @@ GENsql
wait
wait
sync
sync
exit
N
=
`
seq
2
`
# XXX repeat benchmarks N time
N
=
`
seq
2
`
# XXX repeat benchmarks N time
...
@@ -223,6 +223,10 @@ bench1() {
...
@@ -223,6 +223,10 @@ bench1() {
url
=
$1
url
=
$1
time
demo-zbigarray
read
$url
time
demo-zbigarray
read
$url
./zsha1.py
$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
go run zsha1.go
$url
# TODO zsha1.go -prefetch=1
# TODO zsha1.go -prefetch=1
}
}
...
@@ -232,29 +236,37 @@ for i in $N; do
...
@@ -232,29 +236,37 @@ for i in $N; do
bench1
$fs1
/data.fs
bench1
$fs1
/data.fs
done
done
echo
-e
"
\n
*** ZEO"
# echo -e "\n*** ZEO"
Zpy
$fs1
/data.fs
# Zpy $fs1/data.fs
for
i
in
$N
;
do
# for i in $N; do
bench1 zeo://
$Zbind
# bench1 zeo://$Zbind
done
# done
killall runzeo
# killall runzeo
wait
# wait
echo
-e
"
\n
*** NEO/py sqlite"
# echo -e "\n*** NEO/py sqlite"
NEOpylite
# NEOpylite
for
i
in
$N
;
do
# for i in $N; do
bench1 neo://
$cluster
@
$Mbind
# bench1 neo://$cluster@$Mbind
done
# done
xneoctl
set
cluster stopping
# xneoctl set cluster stopping
wait
# wait
echo
-e
"
\n
*** NEO/py sql"
# echo -e "\n*** NEO/py sql"
NEOpysql
# 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
for
i
in
$N
;
do
bench1 neo://
$cluster
@
$Mbind
bench1 neo://
$cluster
@
$Mbind
done
done
xneoctl
set
cluster stopping
xneoctl
set
cluster stopping
xmysql
-e
"SHUTDOWN"
wait
wait
exit
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