mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-23 20:04:03 +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>
784 B
784 B
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