11CARGO-BENCH(1)
22
33NAME
4- cargo-bench - Execute benchmarks of a package
4+ cargo-bench — Execute benchmarks of a package
55
66SYNOPSIS
77 cargo bench [options] [benchname] [-- bench-options]
@@ -11,11 +11,11 @@ DESCRIPTION
1111
1212 The benchmark filtering argument benchname and all the arguments
1313 following the two dashes (--) are passed to the benchmark binaries and
14- thus to libtest (rustc' s built in unit-test and micro-benchmarking
14+ thus to libtest (rustc’ s built in unit-test and micro-benchmarking
1515 framework). If you are passing arguments to both Cargo and the binary,
1616 the ones after -- go to the binary, the ones before go to Cargo. For
17- details about libtest' s arguments see the output of cargo bench --
18- --help and check out the rustc book' s chapter on how tests work at
17+ details about libtest’ s arguments see the output of cargo bench --
18+ --help and check out the rustc book’ s chapter on how tests work at
1919 <https://doc.rust-lang.org/rustc/tests/index.html>.
2020
2121 As an example, this will run only the benchmark named foo (and skip
@@ -52,7 +52,7 @@ DESCRIPTION
5252OPTIONS
5353 Benchmark Options
5454 --no-run
55- Compile, but don' t run benchmarks.
55+ Compile, but don’ t run benchmarks.
5656
5757 --no-fail-fast
5858 Run all benchmarks regardless of failure. Without this flag, Cargo
@@ -74,7 +74,7 @@ OPTIONS
7474 passing --workspace), and a non-virtual workspace will include only the
7575 root crate itself.
7676
77- -p spec... , --package spec...
77+ -p spec… , --package spec…
7878 Benchmark only the specified packages. See cargo-pkgid(1) for the
7979 SPEC format. This flag may be specified multiple times and supports
8080 common Unix glob patterns like *, ? and []. However, to avoid your
@@ -88,7 +88,7 @@ OPTIONS
8888 --all
8989 Deprecated alias for --workspace.
9090
91- --exclude SPEC...
91+ --exclude SPEC…
9292 Exclude the specified packages. Must be used in conjunction with the
9393 --workspace flag. This flag may be specified multiple times and
9494 supports common Unix glob patterns like *, ? and []. However, to
@@ -136,23 +136,23 @@ OPTIONS
136136 use single quotes or double quotes around each glob pattern.
137137
138138 --lib
139- Benchmark the package' s library.
139+ Benchmark the package’ s library.
140140
141- --bin name...
141+ --bin name…
142142 Benchmark the specified binary. This flag may be specified multiple
143143 times and supports common Unix glob patterns.
144144
145145 --bins
146146 Benchmark all binary targets.
147147
148- --example name...
148+ --example name…
149149 Benchmark the specified example. This flag may be specified multiple
150150 times and supports common Unix glob patterns.
151151
152152 --examples
153153 Benchmark all example targets.
154154
155- --test name...
155+ --test name…
156156 Benchmark the specified integration test. This flag may be specified
157157 multiple times and supports common Unix glob patterns.
158158
@@ -165,7 +165,7 @@ OPTIONS
165165 integration tests, etc.). Targets may be enabled or disabled by
166166 setting the test flag in the manifest settings for the target.
167167
168- --bench name...
168+ --bench name…
169169 Benchmark the specified benchmark. This flag may be specified
170170 multiple times and supports common Unix glob patterns.
171171
@@ -227,7 +227,7 @@ OPTIONS
227227
228228 --ignore-rust-version
229229 Benchmark the target even if the selected Rust compiler is older
230- than the required Rust version as configured in the project' s
230+ than the required Rust version as configured in the project’ s
231231 rust-version field.
232232
233233 --timings=fmts
@@ -265,10 +265,11 @@ OPTIONS
265265 cargo bench -- --nocapture
266266
267267 -v, --verbose
268- Use verbose output. May be specified twice for "very verbose" output
269- which includes extra output such as dependency warnings and build
270- script output. May also be specified with the term.verbose config
271- value <https://doc.rust-lang.org/cargo/reference/config.html>.
268+ Use verbose output. May be specified twice for “very verbose”
269+ output which includes extra output such as dependency warnings and
270+ build script output. May also be specified with the term.verbose
271+ config value
272+ <https://doc.rust-lang.org/cargo/reference/config.html>.
272273
273274 -q, --quiet
274275 Do not print cargo log messages. May also be specified with the
@@ -303,18 +304,19 @@ OPTIONS
303304 for more details. Conflicts with human and short.
304305
305306 o json-diagnostic-short: Ensure the rendered field of JSON messages
306- contains the " short" rendering from rustc. Cannot be used with
307- human or short.
307+ contains the “ short” rendering from rustc. Cannot be used
308+ with human or short.
308309
309310 o json-diagnostic-rendered-ansi: Ensure the rendered field of JSON
310311 messages contains embedded ANSI color codes for respecting
311- rustc's default color scheme. Cannot be used with human or short.
312+ rustc’s default color scheme. Cannot be used with human or
313+ short.
312314
313315 o json-render-diagnostics: Instruct Cargo to not include rustc
314316 diagnostics in JSON messages printed, but instead Cargo itself
315- should render the JSON diagnostics coming from rustc. Cargo's own
316- JSON diagnostics and others coming from rustc are still emitted.
317- Cannot be used with human or short.
317+ should render the JSON diagnostics coming from rustc. Cargo’s
318+ own JSON diagnostics and others coming from rustc are still
319+ emitted. Cannot be used with human or short.
318320
319321 Manifest Options
320322 --manifest-path path
0 commit comments