Searched refs:iter_with_setup (Results 1 – 8 of 8) sorted by relevance
/external/rust/crates/criterion/benches/benchmarks/ |
D | iter_with_setup.rs | 7 b.iter_with_setup( in setup()
|
D | mod.rs | 6 pub mod iter_with_setup; module
|
D | measurement_overhead.rs | 6 group.bench_function("iter_with_setup", |b| b.iter_with_setup(|| (), |_| 1)); in some_benchmark()
|
D | async_measurement_overhead.rs | 8 .iter_with_setup(|| (), |_| async { 1 }) in some_benchmark()
|
/external/rust/crates/criterion/benches/ |
D | bench_main.rs | 10 benchmarks::iter_with_setup::benches,
|
/external/rust/crates/criterion/src/ |
D | bencher.rs | 142 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/ |
D | criterion_tests.rs | 295 b.iter_with_setup(|| vec![10], |v| v[0]) in test_timing_loops()
|
/external/rust/crates/criterion/ |
D | CHANGELOG.md | 156 `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`.
|