How to run benchmarks

To run all benchmarks you need to run runBechmarks task in sbt. It is simple wrapper around [sbt-jmh] plugin so you can use ‘jvm:rum’ command directly. runBechmarks just create few dirs and runs ‘jmh:run .Benchmark. -rff $jsonLocation -rf json -o $txtLocation’).

runBench will produce human readable output in out.txt file and json data in out.json. Both files are commited to repository you can just play with my data :)

How to draw charts for benchmarks

Charts uses gnuplot so you need to install it first. I’ve used gnuplot-X11 package.

To draw chart all you need to do is run drawCharts task in sbt.

What charts are drawn?

Except for all/single results you can define your own combined charts (to compare e.g. pattern match with ooo). Those groups are defined in Chart.scala