Skip to content
Snippets Groups Projects
Commit 69b77b94 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

benchmarks: add dimension for the number of threads

This is a very useful metric to test.
parent 9bddb77a
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
copy-data-env = false
[simple-command]
command = "hg status"
command = "RAYON_NUM_THREADS=$THREADS hg status"
[simple-command.variants.dimensions.list-copies.no]
default = true
......@@ -53,3 +53,32 @@
[simple-command.variants.dimensions.repo-state.all-and-large-ignored]
cwd = "DATA-VARS:mercurial.working-copy.all-and-large-ignored"
# TODO constraint the runner to only run benchmarks if they have enough cores
[simple-command.variants.dimensions.threads.all]
default = true
# A bug in the code forced the thread count to 16
constraints.compatible-revision-range="::e2f8ed37201c^+c52435820bbd::"
[simple-command.variants.dimensions.threads.1]
environment.THREADS = "1"
# A bug in the code forced the thread count to 16
constraints.compatible-revision-range="::e2f8ed37201c^+c52435820bbd::"
[simple-command.variants.dimensions.threads.8]
environment.THREADS = "8"
# A bug in the code forced the thread count to 16
constraints.compatible-revision-range="::e2f8ed37201c^+c52435820bbd::"
[simple-command.variants.dimensions.threads.16]
environment.THREADS = "16"
[simple-command.variants.dimensions.threads.32]
environment.THREADS = "32"
# A bug in the code forced the thread count to 16
constraints.compatible-revision-range="::e2f8ed37201c^+c52435820bbd::"
[simple-command.variants.dimensions.threads.64]
environment.THREADS = "64"
# A bug in the code forced the thread count to 16
constraints.compatible-revision-range="::e2f8ed37201c^+c52435820bbd::"
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