-
Notifications
You must be signed in to change notification settings - Fork 315
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
Comments
According to the FAQ, it should work with the explicit
Note that my_benchmark here corresponds to the name of your benchmark in your Cargo.toml file. Another option is to disable benchmarks for your lib or app crate. For example, for library crates, you could add this to your Cargo.toml file: [lib]
bench = false |
It is not that I cannot run the benchmarks, it is just that I cannot use the "save-baseline" feature. And I was wondering if my command line was wrong, or that this feature is not working as documented... |
I think my previous comment answers your question. The linked FAQ regards this specific case: Side note: If you run In your case, try:
instead of
|
Hah, thanks! That works. |
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:
Did I use the wrong command line parameters to store the baseline under a certain name, or is it not working in v0.5
The text was updated successfully, but these errors were encountered: