Closed wathenjiang closed 1 year ago
The documentation at https://bheisler.github.io/criterion.rs/book/user_guide/command_line_output.html#command-line-output suggests using cargo bench -- --verbose to produce verbose benchmark reports.
cargo bench -- --verbose
However I got an error:
Finished bench [optimized] target(s) in 0.03s Running unittests src/main.rs (target/release/deps/benchmark_test-72758575bf95ad97) error: Unrecognized option: 'verbose' error: bench failed, to rerun pass `--bin benchmark_test`
But cargo bench --verbose works well, so it may be a mistake?
cargo bench --verbose
I found the docs in https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options, the issse could be closed.
The documentation at https://bheisler.github.io/criterion.rs/book/user_guide/command_line_output.html#command-line-output suggests using
cargo bench -- --verbose
to produce verbose benchmark reports.However I got an error:
But
cargo bench --verbose
works well, so it may be a mistake?