Home
last modified time | relevance | path

Searched refs:with_function (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/criterion/tests/
Dcriterion_tests.rs294 .with_function("iter_with_setup", |b| { in test_timing_loops()
297 .with_function("iter_with_large_setup", |b| { in test_timing_loops()
300 .with_function("iter_with_large_drop", |b| { in test_timing_loops()
303 .with_function("iter_batched_small", |b| { in test_timing_loops()
306 .with_function("iter_batched_large", |b| { in test_timing_loops()
309 .with_function("iter_batched_per_iteration", |b| { in test_timing_loops()
312 .with_function("iter_batched_one_batch", |b| { in test_timing_loops()
315 .with_function("iter_batched_10_iterations", |b| { in test_timing_loops()
318 .with_function("iter_batched_ref_small", |b| { in test_timing_loops()
321 .with_function("iter_batched_ref_large", |b| { in test_timing_loops()
[all …]
/external/rust/crates/plotters/benches/benches/
Dparallel.rs68 .with_function("blit", |b, &&s| { in draw_func_4x4()
89 .with_function("inplace-blit", |b, &&s| { in draw_func_4x4()
152 .with_function("inplace", |b, &&s| { in draw_func_2x1()
161 .with_function("sequential", |b, &&s| { in draw_func_2x1()
/external/rust/crates/criterion/benches/benchmarks/
Dcompare_functions.rs45 .with_function("Iterative", |b, i| b.iter(|| fibonacci_fast(*i))), in compare_fibonaccis_builder()
66 ParameterizedBenchmark::new("unlooped", |b, i| b.iter(|| i + 10), vec![10]).with_function( in compare_looped()
/external/rust/crates/criterion/src/
Dbenchmark.rs291 .with_function(id, f) in new()
295 pub fn with_function<S, F>(mut self, id: S, mut f: F) -> Benchmark<M> in with_function() function
447 .with_function(id, f) in new()
451 pub fn with_function<S, F>(mut self, id: S, f: F) -> ParameterizedBenchmark<T, M> in with_function() function