Rust: How to run benchmark tests
Автор: Crazcalm's Tech Stack
Загружено: 2020-06-26
Просмотров: 2526
Описание:
We will go over two different ways of running benchmark tests in Rust. The first way is to use nightly Rust to run benchmark tests via the standard library's test crate. The second way to run your benchmark tests is to use the Criterion crate.
Links:
Benchmark (Wiki): https://en.wikipedia.org/wiki/Benchma...)
Rust Test crate docs: https://doc.rust-lang.org/test/index....
Benchmark test example (The Rust Unstable Book): https://doc.rust-lang.org/unstable-bo...
Extern keyword docs: https://doc.rust-lang.org/std/keyword...
Rustup for managing Rust versions: https://doc.rust-lang.org/nightly/edi...
Cargo test docs (The Cargo Book): https://doc.rust-lang.org/cargo/comma...
Criterion crate: https://crates.io/crates/criterion
Criterion blog post I referenced: https://bheisler.github.io/post/bench...
My social links:
Twitter: / crazcalm
IG: / crazcalm.tech.stack
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: