From f31e8e2b55419c7f250f29ae6fbc59be4a4c259e Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Sun, 28 Sep 2025 00:02:20 +0200 Subject: [PATCH] bench: allow benchmarking a single build Change-Id: Ie77247f9348eaeea740b0f894819ee2383d92312 --- bench/bench.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bench/bench.py b/bench/bench.py index 0248c1937..21558146a 100755 --- a/bench/bench.py +++ b/bench/bench.py @@ -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: