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
5c75ca07
Commit
5c75ca07
authored
Oct 16, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
22c5217d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
go/neo/t/neotest
go/neo/t/neotest
+12
-9
No files found.
go/neo/t/neotest
View file @
5c75ca07
...
@@ -973,34 +973,36 @@ Benchmark$1-avg 1 \\2 ms/op\
...
@@ -973,34 +973,36 @@ Benchmark$1-avg 1 \\2 ms/op\
install_trap
install_trap
gen_data
gen_data
zhashok
=
`
cat
$var
/zhash.ok
`
echo
-e
"
\n
*** ZEO"
echo
-e
"
\n
*** ZEO"
Zpy
$fs1
/data.fs
Zpy
$fs1
/data.fs
on
$url
./neotest run-client
"
`
hostname
`
-
$peer
/zeo"
zeo://
$Zbind
on
$url
./neotest run-client
zeo://
$Zbind
"
`
hostname
`
-
$peer
/zeo"
$zhashok
killall runzeo
killall runzeo
wait
wait
echo
-e
"
\n
*** NEO/py sqlite"
echo
-e
"
\n
*** NEO/py sqlite"
NEOpylite
NEOpylite
on
$url
./neotest run-client
"
`
hostname
`
-
$peer
/neo/py/sqlite"
neo://
$cluster
@
$Mbind
on
$url
./neotest run-client
neo://
$cluster
@
$Mbind
"
`
hostname
`
-
$peer
/neo/py/sqlite"
$zhashok
xneoctl
set
cluster stopping
xneoctl
set
cluster stopping
wait
wait
echo
-e
"
\n
*** NEO/py sql"
echo
-e
"
\n
*** NEO/py sql"
NEOpysql
NEOpysql
on
$url
./neotest run-client
"
`
hostname
`
-
$peer
/neo/py/sql"
neo://
$cluster
@
$Mbind
on
$url
./neotest run-client
neo://
$cluster
@
$Mbind
"
`
hostname
`
-
$peer
/neo/py/sql"
$zhashok
xneoctl
set
cluster stopping
xneoctl
set
cluster stopping
xmysql
-e
"SHUTDOWN"
xmysql
-e
"SHUTDOWN"
wait
wait
echo
-e
"
\n
*** NEO/go"
echo
-e
"
\n
*** NEO/go"
NEOgo
NEOgo
on
$url
./neotest run-client
"
`
hostname
`
-
$peer
/neo/go"
neo://
$cluster
@
$Mbind
on
$url
./neotest run-client
neo://
$cluster
@
$Mbind
"
`
hostname
`
-
$peer
/neo/go"
$zhashok
xneoctl
set
cluster stopping
xneoctl
set
cluster stopping
wait
wait
echo
-e
"
\n
*** NEO/go (sha1 disabled)"
echo
-e
"
\n
*** NEO/go (sha1 disabled)"
X_NEOGO_SHA1_SKIP
=
y NEOgo
X_NEOGO_SHA1_SKIP
=
y NEOgo
on
$url
X_NEOGO_SHA1_SKIP
=
y ./neotest run-client
--goonly
"
\\\"
`
hostname
`
-
$peer
/neo/go(!sha1)
\\\"
"
neo://
$cluster
@
$Mbind
on
$url
X_NEOGO_SHA1_SKIP
=
y ./neotest run-client
--goonly
neo://
$cluster
@
$Mbind
"
\\\"
`
hostname
`
-
$peer
/neo/go(!sha1)
\\\"
"
$zhashok
xneoctl
set
cluster stopping
xneoctl
set
cluster stopping
wait
wait
...
@@ -1019,11 +1021,12 @@ cmd_run-client() {
...
@@ -1019,11 +1021,12 @@ cmd_run-client() {
;;
;;
esac
esac
topic
=
$1
url
=
$1
url
=
$2
topic
=
$2
test
-z
"
$topic
"
-o
-z
"
$url
"
&&
die
"Usage: neotest run-client <topic> <url>"
zhashok
=
$3
test
-z
"
$url
"
-o
-z
"
$topic
"
-o
-z
"
$zhashok
"
&&
die
"Usage: neotest run-client <url> <topic> <zhashok>"
test
-z
"
$goonly
"
&&
zbench
$
topic
$url
||
zbench_go
$topic
$url
test
-z
"
$goonly
"
&&
zbench
$
url
$topic
$zhashok
||
zbench_go
$url
$topic
$zhashok
}
}
# command: benchmark local disk
# command: benchmark local disk
...
...
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