Home
last modified time | relevance | path

Searched refs:iter_with_setup (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/criterion/benches/benchmarks/
Diter_with_setup.rs7 b.iter_with_setup( in setup()
Dmod.rs6 pub mod iter_with_setup; module
Dmeasurement_overhead.rs6 group.bench_function("iter_with_setup", |b| b.iter_with_setup(|| (), |_| 1)); in some_benchmark()
Dasync_measurement_overhead.rs8 .iter_with_setup(|| (), |_| async { 1 }) in some_benchmark()
/external/rust/crates/criterion/benches/
Dbench_main.rs10 benchmarks::iter_with_setup::benches,
/external/rust/crates/criterion/src/
Dbencher.rs142 pub fn iter_with_setup<I, O, S, R>(&mut self, setup: S, routine: R) in iter_with_setup() method
515 pub fn iter_with_setup<I, O, S, R, F>(&mut self, setup: S, routine: R) in iter_with_setup() method
/external/rust/crates/criterion/tests/
Dcriterion_tests.rs295 b.iter_with_setup(|| vec![10], |v| v[0]) in test_timing_loops()
/external/rust/crates/criterion/
DCHANGELOG.md156 `iter_with_setup/iter_with_large_setup`) and exclude drop (like `iter_with_large_drop`) but
160 - `iter_with_setup/iter_with_large_setup` are now deprecated in favor of `iter_batched`.