-
Notifications
You must be signed in to change notification settings - Fork 156
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
Running go benchmarks: Use -count
or not?
#229
Comments
Hi @ankon I'm not sure what do you mean by "smooth" in this context. But as long as the output of the benchmark run is in the same format it should be fine. |
In the case of running using
|
I don't think the action will support that output right now. I'm not sure whether it would fail or only use the last value for each benchmark name. If you have some time to submit a fix for that then I would greatly appreciate it. Otherwise, I will try to pick it up when I manage to get some time. Just to clarify what would be the expected result here. I suppose the solution should combine all the metrics using a weighted average (based on number of iterations per run) |
We're setting up this action for our performance-critical go applications, and notice some variance in the results. In one situation it got so bad (or good) that PR branches now report performance regressions because the master branch by chance recorded a really good value.
I was wondering whether we can "smooth" that a bit by using
-count
when running the benchmarks, but am not sure how/if this action will handle that? If it "should just work", do you think it's a good idea?The text was updated successfully, but these errors were encountered: