Skip to content

Commit

Permalink
Mention --bench in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyr committed Apr 4, 2019
1 parent a804ea6 commit c101de7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ Tools installed; then install with **`cargo install cargo-instruments`**.

`cargo-instruments` requires a binary target to run. By default, it will try to
build the current crate's `main.rs`. You can specify an alternative binary by
using the `--bin` or `--example` flags.
using the `--bin` or `--example` flags, or a benchmark target with the `--bench`
flag.

_Generate a new trace file_ (by default saved in `/target/instruments`)

Expand Down

0 comments on commit c101de7

Please sign in to comment.