diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-05-14 14:10:12 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-05-14 14:10:12 +0300 |
| commit | b5beb611a8b5e3135ccd9d8617ed07da680a3cc7 (patch) | |
| tree | 81e5663cefda4d1bfe8a0258f45acbe47f8e473b | |
| parent | c2a966e3ae6c129e294ab769143f48b75cad0dd9 (diff) | |
Fix benchmark_throughput args
| -rw-r--r-- | benchmark_throughput.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
