Home
last modified time | relevance | path

Searched refs:ParameterizedBenchmark (Results 1 – 14 of 14) sorted by relevance

/external/rust/crates/ahash/tests/
Dbench.rs76 ParameterizedBenchmark::new("u8", |b, &s| b.iter(|| black_box(aeshash(s))), &U8_VALUES), in bench_ahash()
80 ParameterizedBenchmark::new("u16", |b, &s| b.iter(|| black_box(aeshash(s))), &U16_VALUES), in bench_ahash()
84 ParameterizedBenchmark::new("u32", |b, &s| b.iter(|| black_box(aeshash(s))), &U32_VALUES), in bench_ahash()
88 ParameterizedBenchmark::new("u64", |b, &s| b.iter(|| black_box(aeshash(s))), &U64_VALUES), in bench_ahash()
92 ParameterizedBenchmark::new("u128", |b, &s| b.iter(|| black_box(aeshash(s))), &U128_VALUES), in bench_ahash()
96ParameterizedBenchmark::new("string", |b, s| b.iter(|| black_box(aeshash(s))), gen_strings()), in bench_ahash()
103ParameterizedBenchmark::new("u8", |b, &s| b.iter(|| black_box(fallbackhash(s))), &U8_VALUES), in bench_fallback()
107ParameterizedBenchmark::new("u16", |b, &s| b.iter(|| black_box(fallbackhash(s))), &U16_VALUES), in bench_fallback()
111ParameterizedBenchmark::new("u32", |b, &s| b.iter(|| black_box(fallbackhash(s))), &U32_VALUES), in bench_fallback()
115ParameterizedBenchmark::new("u64", |b, &s| b.iter(|| black_box(fallbackhash(s))), &U64_VALUES), in bench_fallback()
[all …]
/external/rust/crates/criterion/src/
Dbenchmark.rs84 pub struct ParameterizedBenchmark<T: Debug, M: Measurement = WallTime> { struct
387 impl<T, M> ParameterizedBenchmark<T, M> impl
392 benchmark_config!(ParameterizedBenchmark);
397 ) -> ParameterizedBenchmark<T, M> { in with_functions()
398 ParameterizedBenchmark { in with_functions()
435 pub fn new<S, F, I>(id: S, f: F, parameters: I) -> ParameterizedBenchmark<T, M> in new()
441 ParameterizedBenchmark { in new()
451 pub fn with_function<S, F>(mut self, id: S, f: F) -> ParameterizedBenchmark<T, M> in with_function()
465 pub fn throughput<F>(mut self, throughput: F) -> ParameterizedBenchmark<T, M> in throughput()
473 impl<T, M> BenchmarkDefinition<M> for ParameterizedBenchmark<T, M> implementation
Dlib.rs108 pub use crate::benchmark::{Benchmark, BenchmarkDefinition, ParameterizedBenchmark};
1226 self.bench(id, ParameterizedBenchmark::new(id, f, inputs)) in bench_function_over_inputs()
1277 let benchmark = ParameterizedBenchmark::with_functions( in bench_functions()
/external/rust/crates/criterion/benches/benchmarks/
Dcompare_functions.rs3 use criterion::{criterion_group, BenchmarkId, Criterion, Fun, ParameterizedBenchmark};
40 ParameterizedBenchmark::new( in compare_fibonaccis_builder()
66 ParameterizedBenchmark::new("unlooped", |b, i| b.iter(|| i + 10), vec![10]).with_function( in compare_looped()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.__internal__.test.-parameterized-benchmark.pbtxt1 path: "tensorflow.__internal__.test.ParameterizedBenchmark"
3 is_instance: "<class \'tensorflow.python.platform.benchmark.ParameterizedBenchmark\'>"
Dtensorflow.__internal__.test.pbtxt4 name: "ParameterizedBenchmark"
/external/rust/crates/plotters/benches/benches/
Dparallel.rs1 use criterion::{criterion_group, Criterion, ParameterizedBenchmark};
38 ParameterizedBenchmark::new( in draw_func_1x1_seq()
56 ParameterizedBenchmark::new( in draw_func_4x4()
126 ParameterizedBenchmark::new( in draw_func_2x1()
/external/tensorflow/tensorflow/python/keras/benchmarks/
Doptimizer_benchmarks_test.py24 from tensorflow.python.platform.benchmark import ParameterizedBenchmark
48 tf.test.Benchmark, metaclass=ParameterizedBenchmark):
Dkeras_cpu_benchmark_test.py34 six.with_metaclass(benchmark.ParameterizedBenchmark, tf.test.Benchmark)):
Deager_microbenchmarks_test.py151 six.with_metaclass(benchmark.ParameterizedBenchmark, MicroBenchmarksBase)):
/external/tensorflow/tensorflow/python/platform/
Dbenchmark.py183 class ParameterizedBenchmark(_BenchmarkRegistrar): class
232 return super(mcs, ParameterizedBenchmark).__new__(mcs, clsname, base, attrs)
/external/rust/crates/criterion/
DCHANGELOG.md24 - `Benchmark` and `ParameterizedBenchmark` were already hidden from documentation, but are now
113 - Added the `BenchmarkGroup` type, which supersedes `ParameterizedBenchmark`, `Benchmark`,
274 `ParameterizedBenchmark` structs has been changed to panic if the sample size
320 `ParameterizedBenchmark`. These new structures allow for custom per-benchmark
326 `ParameterizedBenchmark.throughput` functions for further details.
334 `Benchmark` or `ParameterizedBenchmark` types to do per-benchmark configuration
/external/rust/crates/criterion/tests/
Dcriterion_tests.rs8 Criterion, Fun, ParameterizedBenchmark, SamplingMode, Throughput,
345 ParameterizedBenchmark::new( in test_throughput()
/external/tensorflow/tensorflow/python/keras/benchmarks/layer_benchmarks/
Dlayer_benchmarks_test.py206 benchmark.ParameterizedBenchmark,