Home
last modified time | relevance | path

Searched refs:Criterion (Results 1 – 25 of 46) sorted by relevance

12

/third_party/rust/crates/clap/clap_bench/benches/
D02_simple.rs2 use criterion::{criterion_group, criterion_main, Criterion};
16 pub fn build_simple(c: &mut Criterion) { in build_simple() argument
20 pub fn build_with_flag(c: &mut Criterion) { in build_with_flag() argument
26 pub fn build_with_flag_ref(c: &mut Criterion) { in build_with_flag_ref() argument
35 pub fn build_with_opt(c: &mut Criterion) { in build_with_opt() argument
41 pub fn build_with_opt_ref(c: &mut Criterion) { in build_with_opt_ref() argument
50 pub fn build_with_pos(c: &mut Criterion) { in build_with_pos() argument
56 pub fn build_with_pos_ref(c: &mut Criterion) { in build_with_pos_ref() argument
65 pub fn parse_simple_with_flag(c: &mut Criterion) { in parse_simple_with_flag() argument
71 pub fn parse_simple_with_opt(c: &mut Criterion) { in parse_simple_with_opt() argument
[all …]
D03_complex.rs2 use criterion::{criterion_group, criterion_main, Criterion};
46 pub fn build_from_builder(c: &mut Criterion) { in build_from_builder() argument
152 pub fn parse_complex(c: &mut Criterion) { in parse_complex() argument
158 pub fn parse_complex_with_flag(c: &mut Criterion) { in parse_complex_with_flag() argument
164 pub fn parse_complex_with_opt(c: &mut Criterion) { in parse_complex_with_opt() argument
170 pub fn parse_complex_with_pos(c: &mut Criterion) { in parse_complex_with_pos() argument
176 pub fn parse_complex_with_sc(c: &mut Criterion) { in parse_complex_with_sc() argument
182 pub fn parse_complex_with_sc_flag(c: &mut Criterion) { in parse_complex_with_sc_flag() argument
188 pub fn parse_complex_with_sc_opt(c: &mut Criterion) { in parse_complex_with_sc_opt() argument
194 pub fn parse_complex_with_sc_pos(c: &mut Criterion) { in parse_complex_with_sc_pos() argument
[all …]
D04_new_help.rs3 use criterion::{criterion_group, criterion_main, Criterion};
156 pub fn example1(c: &mut Criterion) { in example1() argument
161 pub fn example2(c: &mut Criterion) { in example2() argument
166 pub fn example3(c: &mut Criterion) { in example3() argument
171 pub fn example4(c: &mut Criterion) { in example4() argument
176 pub fn example5(c: &mut Criterion) { in example5() argument
181 pub fn example6(c: &mut Criterion) { in example6() argument
186 pub fn example7(c: &mut Criterion) { in example7() argument
191 pub fn example8(c: &mut Criterion) { in example8() argument
196 pub fn example10(c: &mut Criterion) { in example10() argument
[all …]
D05_ripgrep.rs7 use criterion::{criterion_group, criterion_main, Criterion};
12 pub fn build_rg_with_short_help(c: &mut Criterion) { in build_rg_with_short_help() argument
16 pub fn build_rg_with_long_help(c: &mut Criterion) { in build_rg_with_long_help() argument
20 pub fn write_rg_short_help(c: &mut Criterion) { in write_rg_short_help() argument
25 pub fn write_rg_long_help(c: &mut Criterion) { in write_rg_long_help() argument
30 pub fn parse_rg(c: &mut Criterion) { in parse_rg() argument
36 pub fn parse_rg_with_complex(c: &mut Criterion) { in parse_rg_with_complex() argument
56 pub fn parse_rg_with_lots(c: &mut Criterion) { in parse_rg_with_lots() argument
D01_default.rs2 use criterion::{criterion_group, criterion_main, Criterion};
4 pub fn build_empty(c: &mut Criterion) { in build_empty() argument
8 pub fn parse_empty(c: &mut Criterion) { in parse_empty() argument
/third_party/rust/crates/rustix/benches/
Dmod.rs43 use criterion::Criterion;
45 pub(super) fn simple_statat(c: &mut Criterion) { in simple_statat() argument
55 pub(super) fn simple_statat_libc(c: &mut Criterion) { in simple_statat_libc() argument
74 pub(super) fn simple_statat_libc_cstr(c: &mut Criterion) { in simple_statat_libc_cstr() argument
93 pub(super) fn simple_statat_cstr(c: &mut Criterion) { in simple_statat_cstr() argument
104 pub(super) fn simple_clock_gettime(c: &mut Criterion) { in simple_clock_gettime() argument
115 pub(super) fn simple_clock_gettime_libc(c: &mut Criterion) { in simple_clock_gettime_libc() argument
131 pub(super) fn simple_getpid(c: &mut Criterion) { in simple_getpid() argument
142 pub(super) fn simple_getpid_libc(c: &mut Criterion) { in simple_getpid_libc() argument
/third_party/rust/crates/aho-corasick/bench/src/
Drandom.rs1 use criterion::Criterion;
7 pub fn all(c: &mut Criterion) { in all() argument
22 fn memchr_optimizations(c: &mut Criterion) { in memchr_optimizations() argument
56 fn misc(c: &mut Criterion) { in misc() argument
78 fn many_patterns(c: &mut Criterion) { in many_patterns() argument
179 c: &mut Criterion, in define_random() argument
Dbench.rs5 criterion_group, criterion_main, Bencher, Criterion, Throughput,
14 fn all(c: &mut Criterion) { in all() argument
24 c: &mut Criterion, in define_aho_corasick() argument
84 c: &mut Criterion, in define_aho_corasick_dfa() argument
156 c: &mut Criterion, in define() argument
173 c: &mut Criterion, in define_long() argument
Dsherlock.rs1 use criterion::Criterion;
11 pub fn all(c: &mut Criterion) { in all() argument
73 c: &mut Criterion, in define_sherlock() argument
Dsame.rs1 use criterion::Criterion;
10 pub fn all(c: &mut Criterion) { in all() argument
30 c: &mut Criterion, in define_same() argument
Dbuild.rs2 use criterion::{black_box, Criterion};
9 pub fn all(c: &mut Criterion) { in all() argument
33 c: &mut Criterion, in define_build() argument
/third_party/rust/crates/unicode-ident/benches/
Dxid.rs24 use criterion::{black_box, criterion_group, criterion_main, Criterion};
49 fn bench(c: &mut Criterion, group_name: &str, string: String) { in bench() argument
107 fn bench0(c: &mut Criterion) { in bench0() argument
111 fn bench1(c: &mut Criterion) { in bench1() argument
115 fn bench10(c: &mut Criterion) { in bench10() argument
119 fn bench100(c: &mut Criterion) { in bench100() argument
/third_party/rust/crates/nom/benchmarks/benches/
Djson.rs7 use criterion::Criterion;
141 fn json_bench(c: &mut Criterion) { in json_bench() argument
154 fn recognize_float_bytes(c: &mut Criterion) { in recognize_float_bytes() argument
164 fn recognize_float_str(c: &mut Criterion) { in recognize_float_str() argument
174 fn float_bytes(c: &mut Criterion) { in float_bytes() argument
184 fn float_str(c: &mut Criterion) { in float_str() argument
206 fn std_float_bytes(c: &mut Criterion) { in std_float_bytes() argument
Dini.rs48 fn bench_ini(c: &mut Criterion) { in bench_ini() argument
66 fn bench_ini_keys_and_values(c: &mut Criterion) { in bench_ini_keys_and_values() argument
83 fn bench_ini_key_value(c: &mut Criterion) { in bench_ini_key_value() argument
Dnumber.rs7 use criterion::Criterion;
14 fn number(c: &mut Criterion) { in number() argument
/third_party/rust/crates/tracing/tracing-subscriber/benches/
Denter.rs1 use criterion::{criterion_group, criterion_main, Criterion};
4 fn enter(c: &mut Criterion) { in enter() argument
20 fn enter_exit(c: &mut Criterion) { in enter_exit() argument
36 fn enter_many(c: &mut Criterion) { in enter_many() argument
/third_party/rust/crates/memchr/bench/src/
Dbench.rs2 criterion_group, criterion_main, Bencher, Criterion, Throughput,
9 fn all(c: &mut Criterion) { in all() argument
25 c: &mut Criterion, in define() argument
/third_party/rust/crates/memchr/bench/src/memmem/
Dsliceslice.rs26 use criterion::{black_box, Criterion};
31 pub fn all(c: &mut Criterion) { in all() argument
37 fn search_short_haystack(c: &mut Criterion) { in search_short_haystack() argument
137 fn search_long_haystack(c: &mut Criterion) { in search_long_haystack() argument
223 fn search_i386_haystack(c: &mut Criterion) { in search_i386_haystack() argument
Dmod.rs95 use criterion::Criterion;
103 pub fn all(c: &mut Criterion) { in all() argument
111 fn oneshot(c: &mut Criterion) { in oneshot() argument
181 fn prebuilt(c: &mut Criterion) { in prebuilt() argument
249 fn oneshot_iter(c: &mut Criterion) { in oneshot_iter() argument
317 fn prebuilt_iter(c: &mut Criterion) { in prebuilt_iter() argument
/third_party/rust/crates/tracing/tracing/benches/
Devent.rs1 use criterion::{criterion_group, criterion_main, Criterion};
5 fn bench(c: &mut Criterion) { in bench() argument
Dspan_no_fields.rs1 use criterion::{criterion_group, criterion_main, Criterion};
6 fn bench(c: &mut Criterion) { in bench() argument
Ddispatch_get_ref.rs1 use criterion::{black_box, criterion_group, criterion_main, Criterion};
5 fn bench(c: &mut Criterion) { in bench() argument
Denter_span.rs1 use criterion::{criterion_group, criterion_main, Criterion};
6 fn bench(c: &mut Criterion) { in bench() argument
Ddispatch_get_clone.rs1 use criterion::{black_box, criterion_group, criterion_main, Criterion};
5 fn bench(c: &mut Criterion) { in bench() argument
Dspan_fields.rs1 use criterion::{criterion_group, criterion_main, Criterion};
6 fn bench(c: &mut Criterion) { in bench() argument

12