diff --git a/suites/hg/benchmarks/cat.pbd b/suites/hg/benchmarks/files.pbd similarity index 89% copy from suites/hg/benchmarks/cat.pbd copy to suites/hg/benchmarks/files.pbd index 3674705944b61138ffe657ed11eb02b078486078_c3VpdGVzL2hnL2JlbmNobWFya3MvY2F0LnBiZA==..9e8ba7bbcbb4bce219ae9423d86e9c8e9e4fd870_c3VpdGVzL2hnL2JlbmNobWFya3MvZmlsZXMucGJk 100644 --- a/suites/hg/benchmarks/cat.pbd +++ b/suites/hg/benchmarks/files.pbd @@ -1,9 +1,9 @@ [meta] format="0" -name="cat" +name="files" method="simple-command" [run] copy-data-env = true [simple-command] @@ -4,10 +4,12 @@ method="simple-command" [run] copy-data-env = true [simple-command] -command='hg cat $REV "$FILES" $TEMPLATE > /dev/null' +command=""" +hg files $REV $FILES $TEMPLATE --config ui.interactive=no --config ui.paginate=no +""" cwd="DATA-VARS:mercurial.main-repo-path" prepare-run = """ # XXX We could only do this once before the benchmark instead of doing this for @@ -22,4 +24,8 @@ shuf ../all_sorted.pattern --random-source=../all_sorted.pattern > ../all_suffled.pattern; """ +[simple-command.variants.dimensions.rev.working-copy] +default=true +environment.REV="" + [simple-command.variants.dimensions.rev.tip] @@ -25,5 +31,4 @@ [simple-command.variants.dimensions.rev.tip] -default=true environment.REV="--rev tip" [simple-command.variants.dimensions.output.plain] @@ -33,5 +38,7 @@ [simple-command.variants.dimensions.output.json] environment.TEMPLATE="--template json" +[simple-command.variants.dimensions.files.plain] +default=true [simple-command.variants.dimensions.files.all-root] @@ -36,6 +43,5 @@ [simple-command.variants.dimensions.files.all-root] -default=true environment.FILES="." [simple-command.variants.dimensions.files.all-glob]