benchfella icon indicating copy to clipboard operation
benchfella copied to clipboard

Allow grouping of benches

Open devinus opened this issue 11 years ago • 1 comments

E.g.

group "Strings" do
  bench "Poison" do
    # ...
  end
end
EncoderBench.Strings.Poison:              5000   384.85 µs/op

devinus avatar Aug 30 '14 10:08 devinus

The problem with grouping is that there are different use cases. Sometimes you want to group different implementations of the same algorithm. Other times, you want to group string-related functions in one place.

For now you'll have to use modules, I'm also planning to add tags of some sort. But the most flexible grouping will most likely be implemented on the HTML page generated by bench.graph.

alco avatar Aug 30 '14 20:08 alco