Add optional warmup test suite - #124
Conversation
|
I don't think we want to do this. We want to measure junks caused by compilation of test harness code since it's a real cost. |
I don't know - it seems like a somewhat random cost to include in the measurements (both because it only applies on the first tests using these functions, and because "benchmark runner" isn't a particularly representative workload that we'd include on its own merits). If this effectively reduces noise in measurements I think we should consider it. @camillobruni how does this affect the scores and the deviation across runs? |
|
Ro exaggerate the effects on warmup, I ran with Without warmup:With warmupLooks like both browsers have rather slow first runs. |
We've noticed that we get lazy compilation events for test-runner methods.
By doing running a warmup suite first, we can avoid this addition noise during measurements.