-
Notifications
You must be signed in to change notification settings - Fork 88
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
Make benchmarks more consistent #3295
Conversation
5228c99
to
b15648d
Compare
Made with ❤️️ by updatecli Co-authored-by: apmmachine <apmmachine@users.noreply.github.com>
Use the fleet-server binary version with snapshot flag when building the cloude2e test image instead of the stack version so fleet-server builds will not fail on version bumps.
This pull request is now in conflicts. Could you fix it @michel-laterman? 🙏
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What is the problem this PR solves?
Automated benchstats comparison is inconsistent
How does this PR solve the problem?
Call
b.ResetTimer()
directly before main benchmarks are run in order to ignore any overhead in setting up the benchmarksRestructure some of the benchmarks for more consistent performance.
Use a nop logger is some benchmarks.
Run
benchstat
after the individual benchmark jobs to get a summery of the benchmarks for the pr/main.Related issues