Searched refs:bench_with_input (Results 1 – 6 of 6) sorted by relevance
/external/rust/crates/criterion/benches/benchmarks/ |
D | compare_functions.rs | 51 group.bench_with_input(BenchmarkId::new("Recursive", i), &i, |b, i| { in compare_fibonaccis_group() 54 group.bench_with_input(BenchmarkId::new("Iterative", i), &i, |b, i| { in compare_fibonaccis_group()
|
D | with_inputs.rs | 11 group.bench_with_input(BenchmarkId::from_parameter(size), size, |b, &size| { in from_elem()
|
/external/rust/crates/chrono/benches/ |
D | chrono.rs | 96 group.bench_with_input(BenchmarkId::new("new", year), &d, |b, y| { in bench_num_days_from_ce() 99 group.bench_with_input(BenchmarkId::new("classic", year), &d, |b, y| { in bench_num_days_from_ce()
|
/external/rust/crates/criterion/tests/ |
D | criterion_tests.rs | 474 group.bench_with_input(BenchmarkId::new("Test 1", x), &x, |b, i| b.iter(|| i)); in test_benchmark_group_with_input() 475 group.bench_with_input(BenchmarkId::new("Test 2", x), &x, |b, i| b.iter(|| i)); in test_benchmark_group_with_input()
|
/external/rust/crates/criterion/src/ |
D | benchmark_group.rs | 259 pub fn bench_with_input<ID: IntoBenchmarkId, F, I>( in bench_with_input() method
|
D | lib.rs | 1168 pub fn bench_with_input<F, I>(&mut self, id: BenchmarkId, input: &I, f: F) -> &mut Criterion<M> in bench_with_input() function 1181 self.benchmark_group(group_name).bench_with_input( in bench_with_input()
|