bheisler / criterion.rs

Statistics-driven benchmarking library for Rust
Apache License 2.0
4.52k stars 301 forks source link

[Feature Request] Export `MeasurementData` #694

Open QuarticCat opened 1 year ago

QuarticCat commented 1 year ago

After benchmarking, I want to use the measured data to plot some graphs that criterion doesn't offer. Currently I see no way to do this except to analyze the output csv or json.

mniekras-nmx commented 1 year ago

Just to add to that, it would be nice if Criterion could run an analysis on said exported data from a previous benchmark. The use case I have in mind is to cross-compile on one machine; take the measurements on a much slower target machine, skipping the analysis step; then pull the measurement results back to the build machine for analysis.