Especially useful is the mix bench.cmp task, which will compare the last 2 benchmarks. Run a benchmark on master and then on a branch with changes in order to compare the performance:
$ mix bench.cmp
bench/snapshots/2016-09-11_10-00-12.snapshot vs
bench/snapshots/2016-09-11_10-00-28.snapshot
## SeriesBench
Fibonacci.series(100000) 1.01
This shows that the second benchmark was 1.01x the speed of the previous one, though the output could make this clearer.
Especially useful is the
mix bench.cmp
task, which will compare the last 2 benchmarks. Run a benchmark on master and then on a branch with changes in order to compare the performance:This shows that the second benchmark was 1.01x the speed of the previous one, though the output could make this clearer.