# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1742514519 -3600
#      Fri Mar 21 00:48:39 2025 +0100
# Node ID d80556dbdeebc3af5a70da63f220041c944e67f0
# Parent  9875caa93f61b5172542e6b379e2d877cadc9abb
benchmark: also benchmark `hg files` without explicit files

We benchmarked various patterns, but it is also worthwhile to benchmark the
default case.

diff --git a/suites/hg/benchmarks/files.pbd b/suites/hg/benchmarks/files.pbd
--- a/suites/hg/benchmarks/files.pbd
+++ b/suites/hg/benchmarks/files.pbd
@@ -43,9 +43,6 @@
 [simple-command.variants.dimensions.output.json.environment]
 TEMPLATE = "--template json"
 
-[simple-command.variants.dimensions.files.all-root]
-default = true
-
 [simple-command.variants.dimensions.files.all-root.environment]
 FILES = "."
 
@@ -69,3 +66,9 @@
 
 [simple-command.variants.dimensions.files.all-list-pattern-shuffled.environment]
 FILES = "set:listfile:../all_suffled.pattern"
+
+[simple-command.variants.dimensions.files.default]
+default = true
+
+[simple-command.variants.dimensions.files.default.environment]
+FILES = ""
diff --git a/suites/hg/benchmarks/files.pkl b/suites/hg/benchmarks/files.pkl
--- a/suites/hg/benchmarks/files.pkl
+++ b/suites/hg/benchmarks/files.pkl
@@ -27,5 +27,14 @@
         }
     }
     ["output"] = v.simple_command["rev-reading-output-format"]
-    ["files"] = v.simple_command["rev-reading-files"]
+    ["files"] = (v.simple_command["rev-reading-files"]) {
+        default_key = "default"
+        cases {
+            ["default"] {
+                environment {
+                    ["FILES"] = ""
+                }
+            }
+        }
+    }
 }