mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-24 03:04:15 +02:00

* Add some french translation for cargo * lint * revert package-lock * Update pages.fr/common/cargo-add.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-add.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-bench.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-bench.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-bench.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-bench.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-bench.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-init.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-init.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-init.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-init.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-init.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-bench.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-build.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * fix typo --------- Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>
36 lines
784 B
Markdown
36 lines
784 B
Markdown
# cargo bench
|
|
|
|
> Compile et exécute des benchmarks.
|
|
> Plus d'informations : <https://doc.rust-lang.org/cargo/commands/cargo-bench.html>.
|
|
|
|
- Exécute tous les benchmarks d'un paquet :
|
|
|
|
`cargo bench`
|
|
|
|
- Ne pas arréter quand un benchmark échoue :
|
|
|
|
`cargo bench --no-fail-fast`
|
|
|
|
- Compile, mais n'exécute pas les benchmarks :
|
|
|
|
`cargo bench --no-run`
|
|
|
|
- Exécute le benchmark spécifié :
|
|
|
|
`cargo bench --bench {{benchmark}}`
|
|
|
|
- Exécute les benchmarks avec un profile spécifique (défaut : `bench`) :
|
|
|
|
`cargo bench --profile {{profile}}`
|
|
|
|
- Exécute les benchmarks sur tous les exemples cibles :
|
|
|
|
`cargo bench --examples`
|
|
|
|
- Exécute les benchmarks sur tous les binaires cibles :
|
|
|
|
`cargo bench --bins`
|
|
|
|
- Exécute les benchmarks sur la bibliothèque du paquet :
|
|
|
|
`cargo bench --lib`
|