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

Shorten benchmark warm-up time #337

Merged
merged 1 commit into from
May 3, 2021
Merged

Conversation

mgeisler
Copy link
Owner

@mgeisler mgeisler commented May 3, 2021

By default, Criterion will run a warm-up loop for 3 seconds followed by the actual benchmark loop for 5 seconds. Since our benchmarks are CPU bound, it seems unnecessary to spend 37% of the time warming up.

By default, Criterion will run a warm-up loop for 3 seconds followed
by the actual benchmark loop for 5 seconds. Since our benchmarks are
CPU bound, it seems unnecessary to spend 37% of the time warming up.
@mgeisler mgeisler merged commit ff848f2 into master May 3, 2021
@mgeisler mgeisler deleted the shorten-benchmarks-warmup branch May 3, 2021 18:36
This was referenced May 30, 2021
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