-
Notifications
You must be signed in to change notification settings - Fork 146
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
Post results from benchmark as a comment on PRs #481
Conversation
c794298
to
1c355c1
Compare
1c355c1
to
4fe14eb
Compare
4fe14eb
to
6a1a1f0
Compare
6a1a1f0
to
ada7f2e
Compare
db9489c
to
07c2d62
Compare
a99549f
to
bd98626
Compare
8a078e3
to
0bcda2b
Compare
Looking at the comment this action posted above, I'm a little worried that we'll start caching the fastest runs, but that we unnecessarily fail later runs that run normally. The 15% might not be enough.
|
Yes, I have the same concern. It seems that there's a lot of variation between each run. I'm not sure how we can achieve the best results, my only idea would be to switch the 15% for something like "faster or slower than 2 standard deviations". What do you think? Any other ideas? |
I see in |
Measure returns it split by system and user CPU time. Would the right measure be the sum of both? Or just user? |
I think it should be both since changes could potentially affect either. |
ef9bc00
to
9531aef
Compare
I've made some changes to try to make the benchmark more stable. It now
|
9531aef
to
d99b018
Compare
d99b018
to
0572af7
Compare
0572af7
to
67e6d37
Compare
67e6d37
to
d75c92d
Compare
|
@dirceu gave a great suggestion to run both the main and the branch benchmark on the same CI run to avoid some variance. This also allows us to get rid of using cache. Currently, I believe the benchmark will always fail because I added some extra things to the fixture, but once this is merged it should be considerably more stable. |
Motivation
Final part of #335
Post the results of running benchmarks as a comment on the PR.
Implementation
bin/benchmark
into the GitHub actions output variable