Compare Criterion baselines
masterThe primary use case for critcmp is comparing different Criterion baselines. A baseline is a collection of benchmark data produced by a single Criterion run.
To compare two baselines, first save them using Criterion's --save-baseline flag, then pass their names to critcmp.
You can also compare more than two baselines at once.
# 1. Save baselines using Criterion
$ cargo bench -- --save-baseline before
$ cargo bench -- --save-baseline change
# 2. Compare them with critcmp
$ critcmp before change
# Comparing multiple baselines
$ critcmp before change1 change2