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
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
1886cde2
Commit
1886cde2
authored
Jul 11, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
3fb88be4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
go/neo/t/neotest
go/neo/t/neotest
+0
-22
No files found.
go/neo/t/neotest
View file @
1886cde2
...
...
@@ -934,7 +934,6 @@ cpustat() {
Nrun
=
5
# repeat benchmarks N time
Nparv
=
"1 2 3 4 8 12 16"
# run parallel zwrk benchmarks with so many clients
#Npar=16 # run so many parallel clients in parallel phase
Tzwrk1
=
1s
# time to run 1 zwrk iteration
#profile=
...
...
@@ -947,21 +946,6 @@ nrun() {
done
}
# nrunpar ... - run $Npar ... instances in parallel and wait for completion
# XXX running processes in parallel is deprecated in favour of zwrk.
nrunpar
()
{
$profile
_nrunpar
"
$@
"
}
_nrunpar
()
{
local
jobv
for
i
in
`
seq
$Npar
`
;
do
"
$@
"
&
jobv
=
"
$jobv
$!
"
done
wait
$jobv
}
# bench_cpu - microbenchmark CPU
bench_cpu
()
{
echo
-ne
"node:
\t
"
;
xhostname
...
...
@@ -1131,9 +1115,6 @@ zbench() {
#nrun time demo-zbigarray read $url
nrun tzodb.py zhash
--check
=
$zhashok
--bench
=
$topic
-%s
--
$zhashfunc
$url
# XXX running processes in parallel is deprecated in favour of zwrk.
# echo -e "\n# ${Npar} clients in parallel"
# nrunpar tzodb.py zhash --check=$zhashok --bench=$topic-%s·P$Npar --$zhashfunc $url
echo
zbench_go
$url
$topic
$zhashok
}
...
...
@@ -1148,9 +1129,6 @@ zbench_go() {
nrun tzodb_go
-log_dir
=
$log
zhash
-check
=
$zhashok
-bench
=
$topic
-
$zhashfunc
$url
nrun tzodb_go
-log_dir
=
$log
zhash
-check
=
$zhashok
-bench
=
$topic
-
$zhashfunc
-useprefetch
$url
# XXX running processes in parallel is deprecated in favour of zwrk.
# echo -e "\n# ${Npar} clients in parallel"
# nrunpar tzodb_go -log_dir=$log zhash -check=$zhashok -bench=$topic·P$Npar -$zhashfunc $url
for
i
in
${
Nparv
}
;
do
echo
-e
"
\n
#
$i
clients in parallel"
...
...
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