cargo-criterion
cargo-criterion copied to clipboard
Add CDF plot to benchmark reports
CDF plots are less commonly understood, but once one learns to read them they're actually much better at conveying information than the PDF plots cargo-criterion generates. We should generate a CDF plot as well as the PDF plot for the more advanced users.
Could maybe generate a normal-quantile plot for the really advanced users as well?
Related issue in criterion.rs: https://github.com/bheisler/criterion.rs/issues/443
See top plot at https://github.com/deltachat/deltachat-core-rust/pull/2382#issuecomment-826385834 for an example of how misleading PDF plots can be. Red curve suggests some values fall below 300ms, but in fact there are no runs at all which completed in under 300ms.