many_cpus_benchmarking 0.2.15
“Criterion benchmark harness to easily compare different processor configurations”
Rule evaluation timeout: micro-behaviors/process/create/shell/pipeline::curl-pipe-shell-literal took 824168ms (limit: 90000ms)Basename is uppercase README.md
SHA-256c2dbb5dcb48b3c77be5be03aae13c87399564565e7ff3d32540c765d64b54fe9
MaleculeH₃(Cm₂DbMg)Md(Pa)
Evidence
114:25… target/criterion/report` after benchmarking):
115//!
116//! <img src="https://media.githubusercontent.com/media/folo-rs/folo/refs/heads/main/packages/many_cpus_benchmarking/images/work_distribution_comparison.png">
117//!
118//! # Step-by-step guides for common scenarios
119//!
120//! The following sections provide detailed guidance for implementing …
375:7… yload;
376mod run;
377mod work_distribution;
378
379pub use payload::*;
380pub use run::*;
381pub use work_distribution::*;
382
383#[cfg(test)]
384::testing::set_allocator!();
57:52… t.
58 let _ = black_box(unsafe { destination_ptr.read() });
59}
60
61#[cfg(test)]
62#[cfg_attr(coverage_nightly, coverage(off))]
63mod tests {
64 use super::*;
65
66 #[test]
67 fn clean_caches_smoke_test() {
68 // Just make sure it does not panic and gets a clean bill of health from Miri.
69 …
170:3… Self::ConstrainedSameMemoryRegion,
171 ]
172 }
173}
174
175#[cfg(test)]
176#[cfg_attr(coverage_nightly, coverage(off))]
177mod tests {
178 use std::panic::{RefUnwindSafe, UnwindSafe};
179
180 use static_assertions::assert_impl_all;
181
182 use super::*;
183
184 assert_impl_all!(WorkDistribution: UnwindSafe, RefUnwindSafe);
185}
1[Criterion][1] benchmark harness designed to compare different modes of distributing work in a
2many-processor system with multiple memory regions. This helps highlight the performance impact of
3cross-memory-region data transfers, cross-processor data transfers and multi-threaded logic.
4
5```rust
⋯5 lines
11}
12
13impl Payload for MyBenchmark {
14 fn new_pair() -> (Self, Self) {
15 (Self::default(), Self::default())
⋯26 lines
42More details in the [package documentation](https://docs.rs/many_cpus_benchmarking/).
43
44This is part of the [Folo project](https://github.com/folo-rs/folo) that provides mechanisms for
45high-performance hardware-aware programming in Rust.
46
47[1]: https://bheisler.github.io/criterion.rs/book/index.html
No evidence locations were recorded for this file. Raw result