-
Notifications
You must be signed in to change notification settings - Fork 87
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
Store benchmark data #4422
Store benchmark data #4422
Conversation
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. I would use proper CSV parsing in a later PR
|
||
-- Convert a number of picoseconds to the largest time unit that | ||
-- makes the conversion greater or equal than one. | ||
convertPicosecondsWithUnit :: Double -> (Double, String) |
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.
Out of curiosity, why is this conversion needed? To scale the benchmarks to the best unit?
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.
Right. This is what Tasty.Benchmark
seems to be doing as well.
bors r+ |
bors retry |
Already running a review |
Merge conflict. |
9bfa060
to
6fc776f
Compare
... which conforms to the input expected by https://github.com/benchmark-action/github-action-benchmark This patch also reduces the number of mempool benchmarks: we do not need that many data points for this benchmark. We should be austere in the benchmarks we produce, since the reports can easily get cluttered, and we will add more benchmarks in the future.
6fc776f
to
499efa6
Compare
bors r+ |
Turn the benchmark data into a JSON file that can be fed to https://github.com/benchmark-action/github-action-benchmark
Reduce the number of mempool benchmarks we run to 2.
Checklist
changelog.d
directory created usingscriv
. If in doubt, see the Consensus release process.DEPRECATED
warning that notifies downstream consumers.interface-CHANGELOG.md