-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
I'm trying to run a command like this:
cargo instruments --all-features --bench $bench -t time --profile-time 5
Where --profile-time 5
is supposed to be an argument to the benchmark for criterion: https://bheisler.github.io/criterion.rs/book/user_guide/profiling.html.
However, I get an error:
error: Found argument '--profile-time' which wasn't expected, or isn't valid in this context
I tried the classic --
e.g.
cargo instruments --all-features --bench $bench -t time -- --profile-time 5
I didn't get an error, but the benchmark definitely didn't run for 5 seconds. I'm not sure exactly what happened.
Metadata
Metadata
Assignees
Labels
No labels