bench: allow benchmarking a single build

Change-Id: Ie77247f9348eaeea740b0f894819ee2383d92312
This commit is contained in:
eldritch horrors
2025-09-28 13:35:37 +00:00
parent e4ee5e2eb5
commit f31e8e2b55
+2 -2
View File
@@ -73,8 +73,8 @@ arg_parser.add_argument(
help='Run a temporary daemon for the benchmark instead of using a local store directly',
)
args = arg_parser.parse_args()
if len(args.builds) < 2:
raise ValueError("need at least two build directories to compare")
if len(args.builds) < 1:
raise ValueError("need at least one build directory to benchmark")
benchmarks: list[str] = []
if args.cases is None: