Skip to content

Commit 398e011

Browse files
authored
Fix incorrect command given by the benchmarking README (#18431)
Note: Fixing this caused me to open #18430. On the whole, this fix and that bug don't really depend on each other, so I'm opening this PR anyways # Objective - Fixes #18387 ## Solution - Very small update to benchmarking documentation - Checked through to ensure consistency with other documentation. The only other mention of benchmarking commands I could find is a comment in the `Cargo.toml` associated with the benchmarking; the correct command is already listed there. ## Testing - Manual testing on command line using updated commands - Caused me to see #18430
1 parent d837b9e commit 398e011

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benches/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ cargo bench -p benches -- name_fragment
2525
cargo bench -p benches -- --list
2626

2727
# Save a baseline to be compared against later.
28-
cargo bench -p benches --save-baseline before
28+
cargo bench -p benches -- --save-baseline before
2929

3030
# Compare the current benchmarks against a baseline to find performance gains and regressions.
31-
cargo bench -p benches --baseline before
31+
cargo bench -p benches -- --baseline before
3232
```
3333

3434
## Criterion

0 commit comments

Comments
 (0)