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

benchmarks: more variants for update

We stole them from scmperf

They have nothing special, but are more subtle than the null → tip update.
parent 1fdb6c0e
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,36 @@
environment.UPDATE_SOURCE="null"
environment.UPDATE_DESTINATION="tip"
[simple-command.variants.dimensions.scenario.tip-to-null]
environment.UPDATE_SOURCE="null"
environment.UPDATE_DESTINATION="tip"
[simple-command.variants.dimensions.scenario.1-rev-to-tip]
environment.UPDATE_SOURCE="'tip~1'"
environment.UPDATE_DESTINATION="tip"
constraints.graph.visible-revision-count.min=1
[simple-command.variants.dimensions.scenario.10-rev-to-tip]
environment.UPDATE_SOURCE="'tip~10'"
environment.UPDATE_DESTINATION="tip"
constraints.graph.visible-revision-count.min=10
[simple-command.variants.dimensions.scenario.100-rev-to-tip]
environment.UPDATE_SOURCE="'tip~100'"
environment.UPDATE_DESTINATION="tip"
constraints.graph.visible-revision-count.min=100
[simple-command.variants.dimensions.scenario.1000-rev-to-tip]
environment.UPDATE_SOURCE="'tip~1000'"
environment.UPDATE_DESTINATION="tip"
constraints.graph.visible-revision-count.min=1000
[simple-command.variants.dimensions.scenario.10000-rev-to-tip]
environment.UPDATE_SOURCE="'tip~10000'"
environment.UPDATE_DESTINATION="tip"
constraints.graph.visible-revision-count.min=10000
[simple-command.variants.dimensions.atomic-update.no]
default=true
environment.ATOMIC_UPDATE_CFG="--config experimental.update.atomic-file=no"
......@@ -29,7 +59,6 @@
[simple-command.variants.dimensions.worker.default]
default=true
[simple-command.variants.dimensions.worker.no]
environment.WORKER_CFG="--config worker.enabled=no"
......
......@@ -182,6 +182,12 @@
- yes
* scenario:
- null-to-tip (default)
- tip-to-null
- 1-rev-to-tip
- 10-rev-to-tip
- 100-rev-to-tip
- 1000-rev-to-tip
- 10000-rev-to-tip
* worker:
- default (default)
- no
......
......@@ -69,5 +69,5 @@
$ poulpe den-generate-tasks --all-variants hg:MERCURIAL_VERSION=6.5.3 > tasks
$ wc -l < tasks
4?? (glob)
7?? (glob)
$ sort --unique < tasks | wc -l
......@@ -73,5 +73,5 @@
$ sort --unique < tasks | wc -l
4?? (glob)
7?? (glob)
$ head tasks
RUN hg:MERCURIAL_VERSION=6.5.3 bar hg/cat.pbd:files=all-root:output=plain:rev=tip
RUN hg:MERCURIAL_VERSION=6.5.3 bar hg/cat.pbd:files=all-root:output=json:rev=tip
......@@ -91,5 +91,5 @@
> --data-env-filter mercurial.repo.graph.visible-revision-count="re:^1....$" \
> > tasks
$ wc -l < tasks
2?? (glob)
3?? (glob)
$ sort --unique < tasks | wc -l
......@@ -95,5 +95,5 @@
$ sort --unique < tasks | wc -l
2?? (glob)
3?? (glob)
$ head tasks
RUN hg:MERCURIAL_VERSION=6.5.3 foo hg/cat.pbd:files=all-root:output=plain:rev=tip
RUN hg:MERCURIAL_VERSION=6.5.3 foo hg/cat.pbd:files=all-root:output=json:rev=tip
......@@ -110,5 +110,5 @@
> --data-env-filter name="ba-bar" \
> > tasks
$ wc -l < tasks
2?? (glob)
3?? (glob)
$ sort --unique < tasks | wc -l
......@@ -114,5 +114,5 @@
$ sort --unique < tasks | wc -l
2?? (glob)
3?? (glob)
$ head tasks
RUN hg:MERCURIAL_VERSION=6.5.3 bar hg/cat.pbd:files=all-root:output=plain:rev=tip
RUN hg:MERCURIAL_VERSION=6.5.3 bar hg/cat.pbd:files=all-root:output=json:rev=tip
......@@ -156,5 +156,5 @@
> --benchmark-variant-filter files="re:^.*shuffled$" \
> > tasks
$ wc -l < tasks
4?? (glob)
6?? (glob)
$ sort --unique < tasks | wc -l
......@@ -160,5 +160,5 @@
$ sort --unique < tasks | wc -l
4?? (glob)
6?? (glob)
$ head tasks
RUN hg:MERCURIAL_VERSION=6.5.3 bar hg/cat.pbd:files=all-list-path-shuffled:output=plain:rev=tip
RUN hg:MERCURIAL_VERSION=6.5.3 bar hg/cat.pbd:files=all-list-path-shuffled:output=json:rev=tip
......
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