Skip to content

Cap automatic sample iterations - #94

Open
Guflly wants to merge 1 commit into
nvzqz:mainfrom
Guflly:fix/sample-iteration-limit
Open

Guflly wants to merge 1 commit into
nvzqz:mainfrom
Guflly:fix/sample-iteration-limit

Conversation

@Guflly

@Guflly Guflly commented Aug 2, 2026

Copy link
Copy Markdown

Stops automatic sampling from growing without bound when input generation is much slower than the benchmark. Explicit sample counts are unchanged.

Adds regression coverage for the zero-duration and slow-input cases. The test suite, Clippy, and rustdoc checks pass locally.

Fixes #80

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.

Benchmarking hangs if with_inputs function is slow relative to benched function

1 participant