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

benchmark: add a debug::unbundle variants

This one simulate a push and has a different performance profile.
parent 459c6a98
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
copy-data-env = true
[simple-command]
command='hg -R "./temporary-unbundle-destination" unbundle $BUNDLE_PATH'
command='hg -R "./temporary-unbundle-destination" $UNBUNDLE_CMD $BUNDLE_PATH'
prepare-run = """
rm -rf temporary-unbundle-destination;
cp --archive --recursive --reflink=auto "$MAIN_REPO" temporary-unbundle-destination
......@@ -40,6 +40,13 @@
environment.DELTA_PARENT_CONFIG="[storage]\nrevlog.reuse-external-delta-parent=no"
constraints.compatible-revision-range="f6eff9e4de80::"
[simple-command.variants.dimensions.source.unbundle]
default=true
environment.UNBUNDLE_CMD="unbundle"
[simple-command.variants.dimensions.source.push]
environment.UNBUNDLE_CMD="debug::unbundle"
constraints.compatible-revision-range="e2dfa403452d::"
[simple-command.variants.dimensions.revs.any-1-extra-rev]
environment.BUNDLE_PATH = 'DATA-VARS:mercurial.bundles.any-1-revs'
......@@ -71,3 +78,4 @@
# some 2**N behavior prevent reasonable pulling time for set of revision
# introduced in 23950e39281f, fixed in c9ceb4f60256
compatible-revision-range= 'not (23950e39281f:: and not c9ceb4f60256::)'
......@@ -198,6 +198,9 @@
- any-1000-extra-rev
- any-10000-extra-rev (default)
- any-100000-extra-rev
* source:
- unbundle (default)
- push
hg.command.update
* atomic-update:
- no (default)
......
......@@ -69,5 +69,5 @@
$ poulpe den-generate-tasks --all-variants hg:MERCURIAL_VERSION=6.5.3 > tasks
$ wc -l < tasks
8?? (glob)
9?? (glob)
$ sort --unique < tasks | wc -l
......@@ -73,5 +73,5 @@
$ sort --unique < tasks | wc -l
8?? (glob)
9?? (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
7?? (glob)
8?? (glob)
$ sort --unique < tasks | wc -l
......@@ -160,5 +160,5 @@
$ sort --unique < tasks | wc -l
7?? (glob)
8?? (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