From b5beb611a8b5e3135ccd9d8617ed07da680a3cc7 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Wed, 14 May 2025 14:10:12 +0300 Subject: Fix benchmark_throughput args --- benchmark_throughput.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmark_throughput.py') diff --git a/benchmark_throughput.py b/benchmark_throughput.py index 5bfa4d5..8a9d4a5 100644 --- a/benchmark_throughput.py +++ b/benchmark_throughput.py @@ -50,7 +50,7 @@ def run_benchmark(duration_seconds: int, payload_size: int = 100): if __name__ == "__main__": parser = argparse.ArgumentParser(description="FemtoQueue throughput benchmark") - parser.add_argument("duration", type=int, help="Duration to run the benchmark (in seconds)", default=10) + parser.add_argument("--duration", type=int, help="Duration to run the benchmark (in seconds)", default=10, required=False) args = parser.parse_args() run_benchmark(args.duration) -- cgit v1.3