The Criterion benchmarking library for Rust is documented as generating plots describing the benchmark results:
Criterion.rs can generate a number of useful charts and graphs which you can check to get a better understanding of the behavior of the benchmark.
The plots and saved data are stored under
target/criterion/$BENCHMARK_NAME/
.
However, after running cargo bench
and seeing Criterion's output on the terminal, I don't see a directory named target/criterion/
. Where is the output now, or what do I have to do to activate it?
cargo bench
to activate HTML reports / plot output? I'm using version 0.4.0 and I'm getting no HTML reports whatsoever using cargo workspace as well. To clarify,target/criterion
contains some json files, but no html/png/svg files at all. – Furst