Searched refs:iter_batched_ref (Results 1 – 6 of 6) sorted by relevance
/external/rust/crates/criterion/benches/benchmarks/ |
D | measurement_overhead.rs | 21 b.iter_batched_ref(|| (), |_| 1, BatchSize::SmallInput) in some_benchmark() 24 b.iter_batched_ref(|| (), |_| 1, BatchSize::LargeInput) in some_benchmark() 27 b.iter_batched_ref(|| (), |_| 1, BatchSize::PerIteration) in some_benchmark()
|
D | async_measurement_overhead.rs | 32 .iter_batched_ref(|| (), |_| async { 1 }, BatchSize::SmallInput) in some_benchmark() 36 .iter_batched_ref(|| (), |_| async { 1 }, BatchSize::LargeInput) in some_benchmark() 39 b.to_async(FuturesExecutor).iter_batched_ref( in some_benchmark()
|
/external/rust/crates/criterion/tests/ |
D | criterion_tests.rs | 319 b.iter_batched_ref(|| vec![10], |v| v[0], BatchSize::SmallInput) in test_timing_loops() 322 b.iter_batched_ref(|| vec![10], |v| v[0], BatchSize::LargeInput) in test_timing_loops() 325 b.iter_batched_ref(|| vec![10], |v| v[0], BatchSize::PerIteration) in test_timing_loops() 328 b.iter_batched_ref(|| vec![10], |v| v[0], BatchSize::NumBatches(1)) in test_timing_loops() 331 b.iter_batched_ref(|| vec![10], |v| v[0], BatchSize::NumIterations(10)) in test_timing_loops()
|
/external/rust/crates/thread_local/benches/ |
D | thread_local.rs | 20 b.iter_batched_ref( in main()
|
/external/rust/crates/criterion/src/ |
D | bencher.rs | 335 pub fn iter_batched_ref<I, O, S, R>(&mut self, mut setup: S, mut routine: R, size: BatchSize) in iter_batched_ref() method 721 pub fn iter_batched_ref<I, O, S, R, F>(&mut self, mut setup: S, mut routine: R, size: BatchSize) in iter_batched_ref() method
|
/external/rust/crates/criterion/ |
D | CHANGELOG.md | 151 - Reduced timing overhead of `Criterion::iter_batched/iter_batched_ref`. 155 - Added `iter_batched/iter_batched_ref` timing loops, which allow for setup (like
|