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
29adac06
Commit
29adac06
authored
Oct 06, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
0fb48b65
Changes
1
Hide 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() {
...
@@ -628,7 +628,7 @@ cpustat() {
}
}
Nrun
=
5
# repeat benchmarks N time
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=
profile
=
cpustat
profile
=
cpustat
...
@@ -650,8 +650,8 @@ _nrunpar() {
...
@@ -650,8 +650,8 @@ _nrunpar() {
wait
$jobv
wait
$jobv
}
}
runpar
()
{
n
runpar
()
{
$profile
_runpar
"
$@
"
$profile
_
n
runpar
"
$@
"
}
}
# bench_cpu - microbenchmark CPU
# bench_cpu - microbenchmark CPU
...
@@ -693,8 +693,8 @@ bench() {
...
@@ -693,8 +693,8 @@ bench() {
# nrun time demo-zbigarray read $url
# nrun time demo-zbigarray read $url
nrun ./zhash.py
--
$hashfunc
$url
nrun ./zhash.py
--
$hashfunc
$url
#
echo -e "\n# ${Npar} clients in parallel"
echo
-e
"
\n
#
${
Npar
}
clients in parallel"
#
nrunpar ./zhash.py --$hashfunc $url
nrunpar ./zhash.py
--
$hashfunc
$url
if
[[
$url
==
zeo://
*
]]
;
then
if
[[
$url
==
zeo://
*
]]
;
then
echo
"(skipping zhash.go on ZEO -- Cgo does not support zeo:// protocol)"
echo
"(skipping zhash.go on ZEO -- Cgo does not support zeo:// protocol)"
...
@@ -708,11 +708,10 @@ bench() {
...
@@ -708,11 +708,10 @@ bench() {
bench_go
()
{
bench_go
()
{
url
=
$1
url
=
$1
nrun ./zhash_go
--log_dir
=
$log
-
$hashfunc
$url
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"
echo
-e
"
\n
#
${
Npar
}
clients in parallel"
#
nrunpar ./zhash_go --log_dir=$log -$hashfunc $url
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