HTML Report

Starting with Criterion.rs 0.4.0 HTML reports must be explicitly enabled via the html_reports feature:

[dev-dependencies]
criterion = {version = "0.4.0", features = ["html_reports"] }

Criterion.rs can generate an HTML report displaying the results of the benchmark under target/criterion/reports/index.html. By default, the plots are generated using gnuplot if it is available, or the plotters crate if it is not. The example below was generated using the gnuplot backend, but the charts generated by plotters are similar.

To see an example report, click here. For more details on the charts and statistics displayed, check the other pages of this book.