Skip to content
Snippets Groups Projects
Commit 639d4953 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

benchmarkk: add a "num-worker" variant to stream-consume

The way we specify these numerical variant is a bit suboptimal…
parent e3b25d19
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,30 @@
[hg-perf-ext.variants.dimensions.parallel-processing.no]
args = [ "--config", "worker.parallel-stream-bundle-processing=no" ]
[hg-perf-ext.variants.dimensions.num-writer.default]
default = true
[hg-perf-ext.variants.dimensions.num-writer.1]
args = [ "--config", "worker.parallel-stream-bundle-processing.num-writer=1" ]
[hg-perf-ext.variants.dimensions.num-writer.2]
args = [ "--config", "worker.parallel-stream-bundle-processing.num-writer=2" ]
[hg-perf-ext.variants.dimensions.num-writer.3]
args = [ "--config", "worker.parallel-stream-bundle-processing.num-writer=3" ]
[hg-perf-ext.variants.dimensions.num-writer.4]
args = [ "--config", "worker.parallel-stream-bundle-processing.num-writer=4" ]
[hg-perf-ext.variants.dimensions.num-writer.8]
args = [ "--config", "worker.parallel-stream-bundle-processing.num-writer=8" ]
[hg-perf-ext.variants.dimensions.num-writer.16]
args = [ "--config", "worker.parallel-stream-bundle-processing.num-writer=16" ]
[hg-perf-ext.variants.dimensions.num-writer.32]
args = [ "--config", "worker.parallel-stream-bundle-processing.num-writer=32" ]
[hg-perf-ext.variants.dimensions.read-from-memory.yes]
args = [ "--in-memory-bundle" ]
......
......@@ -52,6 +52,20 @@
}
}
}
["num-writer"] {
default_key = "default"
cases {
["default"] {}
for (value in List("1", "2", "3", "4", "8", "16", "32")) {
[value] {
args {
"--config"
"worker.parallel-stream-bundle-processing.num-writer=\(value)"
}
}
}
}
}
["read-from-memory"] {
default_key = "no"
cases {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment