-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Reliable benchmarking in noisy environments #264
Conversation
03862d9
to
d0d9de3
Compare
32e0e01
to
1c70d08
Compare
1c70d08
to
111736a
Compare
2ce12fa
to
61ead05
Compare
61ead05
to
b751cfd
Compare
62a5373
to
11da893
Compare
11da893
to
8c09f8e
Compare
# There is 3.6% noise (maximum score is 3.68% greater than minimum score) for 30 runs. | ||
# This noise is a little loud but negligible in most situations. | ||
# ref: https://github.com/mizdra/eslint-interactive/commit/b751cfdef788ac6eb6b39d2d015494123cae51c1#comments |
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.
This is a much larger value than the noise presented at https://pythonspeed.com/articles/consistent-benchmarking-in-ci/.
The detailed cause is unknown, but it is probably related to the fact that the process performed by eslint-interactive is dominated by I/O to the file system. valgrind does not virtualize I/O to the file system, so it is strongly affected by the CI noise.
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.
But, previous benchmarks showed 300% noise. Given that, that's a huge improvement!
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.
I rewrote the code to cause performance degradation as a test.
- diff
- before score:
21065268522
instructions - after score:
33588677349
instructions
The score increased by 159.4 %. This satisfies the conditions for an alert to be triggered.
7f2884a
to
119db02
Compare
119db02
to
65ac695
Compare
This reverts commit 65ac695.
Perfect! 💯💯💯 |
close: #258