bench: allow benchmarking a single build

Change-Id: Ie77247f9348eaeea740b0f894819ee2383d92312
This commit is contained in:
eldritch horrors
2025-09-28 00:02:20 +02:00
parent 82b771951c
commit 1f0b25a92c
+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: