-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Issue by jwoudenberg
Monday Jun 05, 2017 at 12:35 GMT
Originally opened as BrianHicks/elm-benchmark#13
In the same vein as the elm compiler it wouldn't be really nice if elm-benchmark gave us warning, errors, and tips to help us write better benchmarks. From working with Brian a bit, I know he has tons of context on this, part of which could be automatically distributed in the benchmark report.
Below is an outline of some of Brian's tips I remeber, to give an idea of the type of helpful messages that could be displayed.
- Standard deviations are large:
- Run counts are low
- "Try to make the benchmark run faster by narrowing down the code it runs to the part you're actually trying to benchmark."
- "Perhaps you're not actually writing a micro-benchmark? Consider using a different tool. Here's a good one:
<link>
."
- Run counts are not low
- "These programs are known to interfere with benchmark performance. Try closing them and running the benchmark again."
- "Did none if the above work? Please report an issue to help us make elm-benchmark better!
<link>
"
- Run counts are low
- Standard deviation is larger than delta:
- "The benchmark is inconclusive."
- Should the delta even be shown in this scenario?
lue-bird
Metadata
Metadata
Assignees
Labels
No labels