1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-24 07:24:08 +02:00
tldr/pages.fr/common/cargo-bench.md

37 lines
784 B
Markdown
Raw Normal View History

cargo-add, cargo-bench, cargo-build, cargo-init: add French translation (#14129) * 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>
2024-10-13 17:59:58 +02:00
# 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`