Skip to content

fix(bench): reject zero worker counts and batch sizes - #289

Merged
ArnavBalyan merged 1 commit into
mainfrom
fix/bench-positive-counts
Sep 21, 2026
Merged

ArnavBalyan merged 1 commit into
mainfrom
fix/bench-positive-counts

Conversation

@ArnavBalyan

Copy link
Copy Markdown
Contributor

• The benchmark accepts zero workers and zero batch sizes.
• These values can produce misleading results without running any measured requests.
• Require values of at least one during argument parsing and add regression tests for zero values, including those inside lists.

@ArnavBalyan
ArnavBalyan merged commit ec5cee0 into main Sep 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant