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
29adac06
Commit
29adac06
authored
Oct 06, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
0fb48b65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
go/neo/t/neotest
go/neo/t/neotest
+8
-9
No files found.
go/neo/t/neotest
View file @
29adac06
...
...
@@ -628,7 +628,7 @@ cpustat() {
}
Nrun
=
5
# repeat benchmarks N time
Npar
=
8
# run so many parallel clients in parallel phase
Npar
=
16
# run so many parallel clients in parallel phase
#profile=
profile
=
cpustat
...
...
@@ -650,8 +650,8 @@ _nrunpar() {
wait
$jobv
}
runpar
()
{
$profile
_runpar
"
$@
"
n
runpar
()
{
$profile
_
n
runpar
"
$@
"
}
# bench_cpu - microbenchmark CPU
...
...
@@ -693,8 +693,8 @@ bench() {
# nrun time demo-zbigarray read $url
nrun ./zhash.py
--
$hashfunc
$url
#
echo -e "\n# ${Npar} clients in parallel"
#
nrunpar ./zhash.py --$hashfunc $url
echo
-e
"
\n
#
${
Npar
}
clients in parallel"
nrunpar ./zhash.py
--
$hashfunc
$url
if
[[
$url
==
zeo://
*
]]
;
then
echo
"(skipping zhash.go on ZEO -- Cgo does not support zeo:// protocol)"
...
...
@@ -708,11 +708,10 @@ bench() {
bench_go
()
{
url
=
$1
nrun ./zhash_go
--log_dir
=
$log
-
$hashfunc
$url
# FIXME reenable - after fixing bug.txt
#nrun ./zhash_go --log_dir=$log -$hashfunc -useprefetch $url
nrun ./zhash_go
--log_dir
=
$log
-
$hashfunc
-useprefetch
$url
#
echo -e "\n# ${Npar} clients in parallel"
#
nrunpar ./zhash_go --log_dir=$log -$hashfunc $url
echo
-e
"
\n
#
${
Npar
}
clients in parallel"
nrunpar ./zhash_go
--log_dir
=
$log
-
$hashfunc
$url
}
...
...
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