bheisler / criterion.rs

Statistics-driven benchmarking library for Rust
Apache License 2.0
4.43k stars 298 forks source link

Suppress gnuplot not found warning #552

Open casey opened 2 years ago

casey commented 2 years ago

Is it possible to suppress the "Gnuplot not found, using plotters backend" warning?

jmwill86 commented 2 years ago

Seems like there's cargo bench --bench my_benchmark -- --plotting-backend plotters to explicitly set the plotter but the Gnuplot warning is still being shown. Seems like this is something that shouldn't output the error if you explicitly choose plotters?

I'm pretty new to Rust but happy to try and tackle this one if someone else here thinks this is worthwhile and a fairly easy one for me to tackle as a newcomer.

lemmih commented 2 years ago

It has already been fixed in the version-0.4 branch.