Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save baseline does not work in 0.5 #780

Open
aadrijnberg opened this issue May 7, 2024 · 0 comments
Open

Save baseline does not work in 0.5 #780

aadrijnberg opened this issue May 7, 2024 · 0 comments

Comments

@aadrijnberg
Copy link

aadrijnberg commented May 7, 2024

When following the documentation to save a baseline with a name, it returns an error. See https://github.com/aadrijnberg/criterion-benchmark for the repo that tries to use it, but fails with an error:

$ cargo bench -- --save-baseline initial
Finished `bench` profile [optimized] target(s) in 0.10s
 Running unittests src/lib.rs (target/release/deps/criterion_benchmark-c2076c60856bf728)
error: Unrecognized option: 'save-baseline'
error: bench failed, to rerun pass `--lib`

Did I use the wrong command line parameters to store the baseline under a certain name, or is it not working in v0.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant