bench icon indicating copy to clipboard operation
bench copied to clipboard

Feature request - separate first from following runs

Open jstimpfle opened this issue 8 years ago • 2 comments

Maybe a "-1" option, to separate the first run from the following runs in the statistics, would make sense for file system cache sensitive applications.

jstimpfle avatar Jun 28 '16 00:06 jstimpfle

So I think this request would make more sense to upstream into criterion. This would benefit other libraries that use criterion and also give a more accurate time for the first run (since criterion takes care to ensure that the Haskell runtime doesn't interfere significantly with computed timings)

Gabriella439 avatar Jul 03 '16 21:07 Gabriella439

Actually, never mind, I think I can extract this from the information that criterion already provides

Gabriella439 avatar Jul 03 '16 21:07 Gabriella439