haskell-perf / serialization

A micro-benchmark that compares some Haskell serialization libraries
Other
44 stars 11 forks source link

Output table #3

Closed chrisdone closed 7 years ago

chrisdone commented 7 years ago

If anyone's interested, you could also summarize the output like this:

https://github.com/haskell-perf/sequences#append

I wrote a (not pretty, but works) script to do this here: https://github.com/haskell-perf/sequences/blob/master/Report.hs

It accepts a .csv file, which you can get by passing --csv out.csv to your criterion benchmark.

There's some code in there to replace anything after <!-- RESULTS --> in the README.md with all result tables, but you could do something else with that. Perhaps just replace a line containing <-- RESULTS -->, or just spit it out to stdout and do what you like with it.

Just a FWIW. I think the table is a nice quick summary, but that in the case of serialization it's nice to also include the full criterion output, as well.

chrisdone commented 7 years ago

Oh I see that this PR https://github.com/haskell-perf/serialization/pull/2 has its own way of outputting numbers. Disregard this.