-
Notifications
You must be signed in to change notification settings - Fork 98
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
Fully Automatic Mode #92
Comments
@mperham points out that Go's testing package may provide some ideas: https://golang.org/pkg/testing/#hdr-Benchmarks |
Sounds great! Let's do it! |
I think maybe the easiest to implement first would be auto-warmup. What would be a reasonable configuration interface for this? |
Auto-warmup can be decided by how stable the latest iteration time was compared to the average / standard deviation. https://ubuntuincident.wordpress.com/2012/04/25/calculating-the-average-incrementally/ |
@nateberkopec I've added a take at auto warmup using a fairly simple (but stable) approach. |
Showerthought.
The reason why benchmark/ips is so great is it helps us to set and decide on what would otherwise be pretty arbitrary parameters for benchmarks - particularly of course number of iterations.
I think we could go further.
Just some ideas. I think I just want to get rid of the three remaining "config points" in benchmark/ips: warmup time, iteration runtime, and number of iterations.
The text was updated successfully, but these errors were encountered: