Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use black_box for benchmark evaluation #47

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

fspoettel
Copy link
Owner

This prevents cases where subsequent invocations of the solution fully unroll it, leading to deceivingly low execution times being reported.

Adopted from https://github.com/bheisler/criterion.rs/blob/b913e232edd98780961ecfbae836ec77ede49259/src/lib.rs#L151-L158

@fspoettel fspoettel merged commit c241820 into main Dec 6, 2023
1 check passed
@fspoettel fspoettel deleted the feat/benchmark-blackboxes branch December 6, 2023 09:08
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