Suggestion to remove nosiy "Gnuplot not found, using plotters backend" for normal, non-verbose output
I'm not quite sure why the default `cargo bench` output includes the line "Gnuplot not found, using plotters backend". This seems unnecessarily verbose for the standard configuration. Is there a way to hide it at least through configuration?
On criterion 0.7.0 I get this line `Gnuplot not found, using plotters backend` with a pretty vanilla configuration:
```
$ cargo bench
Compiling nexttree v0.1.0 (/Users/cr/code/pree/rust/nexttree)
Compiling nexttree-cli v0.1.0 (/Users/cr/code/pree/rust/nexttree-cli)
Finished `bench` profile [optimized] target(s) in 3.32s
Running unittests src/lib.rs (target/release/deps/nexttree-8967c1418f1adaab)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running benches/alignment_benchmark.rs (target/release/deps/alignment_benchmark-52872e12a6021dbd)
Gnuplot not found, using plotters backend
AlignmentToFitchMap/alignment_to_fitch_map/500seqs_30000len
time: [38.226 ms 38.786 ms 39.142 ms]
change: [+0.7742% +2.2078% +3.4209%] (p = 0.01 < 0.05)
Change within noise threshold.
AlignmentToFitchMap/alignment_to_fitch_map/100seqs_200000len
time: [81.523 ms 82.877 ms 84.351 ms]
change: [+1.5769% +3.7600% +6.5137%] (p = 0.00 < 0.05)
Performance has regressed.
Found 1 outliers among 10 measurements (10.00%)
1 (10.00%) high severe
Benchmarking AlignmentToFitchMap/alignment_to_fitch_map/10000seqs_30000len: Warming up for 1.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 8.1s.
AlignmentToFitchMap/alignment_to_fitch_map/10000seqs_30000len
time: [790.84 ms 799.91 ms 811.60 ms]
change: [+2.8709% +4.1088% +5.7182%] (p = 0.00 < 0.05)
Performance has regressed.
Found 1 outliers among 10 measurements (10.00%)
1 (10.00%) high severe
Running unittests src/main.rs (target/release/deps/nexttree_cli-1140657950858e68)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
```
关闭于 2025-08-30 1 条评论