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

Increase the amount of benchmark repetitions for decompression to 50 #88

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bjorn3
Copy link
Collaborator

@bjorn3 bjorn3 commented Jan 22, 2025

Benchmarking bzip2 is affected a lot by noise.

Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

@folkertdev
Copy link
Collaborator

that is fine, although for testing, maybe we can have the custom runner take the number of runs too? or think about some other way to easily run benchmarks quickly when we want.

@bjorn3
Copy link
Collaborator Author

bjorn3 commented Jan 22, 2025

I think this is too high of a repetition count. The bench job is still running after 15min: https://github.com/trifectatechfoundation/libbzip2-rs/actions/runs/12909389970/job/35996943745

@bjorn3 bjorn3 force-pushed the less_noisy_benchmarking branch from 686d58b to 8c4c89f Compare January 22, 2025 14:02
@bjorn3 bjorn3 changed the title Increase the amount of benchmark repetitions to 100 Increase the amount of benchmark repetitions to 50 Jan 22, 2025
@bjorn3
Copy link
Collaborator Author

bjorn3 commented Jan 22, 2025

I've lowered the count to 50 such that benchmarking should finish in ~10min.

@bjorn3 bjorn3 force-pushed the less_noisy_benchmarking branch 2 times, most recently from 9754365 to 7f20690 Compare January 22, 2025 14:31
@bjorn3 bjorn3 changed the title Increase the amount of benchmark repetitions to 50 Increase the amount of benchmark repetitions for decompression to 50 Jan 22, 2025
Benchmarking bzip2 is affected a lot by noise.
@bjorn3 bjorn3 force-pushed the less_noisy_benchmarking branch from 7f20690 to c465fb0 Compare January 22, 2025 14:40
@bjorn3
Copy link
Collaborator Author

bjorn3 commented Jan 22, 2025

I'm now only increasing the repetition count for the decompression benchmarks. Now it only slows down benchmarking by about 45s: https://github.com/trifectatechfoundation/libbzip2-rs/actions/runs/12910588311

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.

2 participants