julien-truffaut / brique

Data structure experimentation in scala
MIT License
15 stars 2 forks source link

Experiment how to annotate benchmark to facilitate display #6

Open julien-truffaut opened 9 years ago

julien-truffaut commented 9 years ago

At the moment, I take jmh csv file and format it in excell. This is time consuming and error prone.

Ideally, I would like a description to write a bench display like:

map  | @scala.list.map | @brique.conslist.map | @brique.conslist.map / @scala.list.map * 100

and it would generate:

method size List (μs / ops) ConsList (μs / ops) ConsList / List (%)
map 10 0.215654 0.235267 109.09
map 100 1.853072 3.383963 182.61
map 1000 20.081988 38.771078 193.06