I have a Criterion criterion where each bgroup corresponds to a test, and inside each bgroup there are two bench test values with different parameters. For example:
main = defaultMain [bgroup "test1" [bench "v1" test1_1, bench "v2" test1_2] ,bgroup "test2" [bench "v1" test2_1, bench "v2" test2_2 -- lots more tests ]
Inside each bgroup two bench tests are comparable. However, test1 takes 2000 microseconds, and test2 45 microseconds. The overview graph (which is most useful for what I want to do) displays various tests on the same axes, so I can clearly see the differences in test1 , but test2 hard to see.
Is it possible to normalize each bgroup to build a graph? Or show them on separate axes? Or do I need to dump CSV data and record what I want?
haskell criterion
Neil mitchell
source share