/third_party/rust/crates/clap/clap_bench/benches/ |
D | 02_simple.rs | 2 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 …]
|
D | 03_complex.rs | 2 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 …]
|
D | 04_new_help.rs | 3 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 …]
|
D | 05_ripgrep.rs | 7 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
|
D | 01_default.rs | 2 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
|
D | 06_rustup.rs | 6 use criterion::{criterion_group, criterion_main, Criterion}; 8 pub fn build_rustup(c: &mut Criterion) { in build_rustup() argument 12 pub fn parse_rustup(c: &mut Criterion) { in parse_rustup() argument 18 pub fn parse_rustup_with_sc(c: &mut Criterion) { in parse_rustup_with_sc() argument
|
/third_party/rust/crates/rustix/benches/ |
D | mod.rs | 43 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/ |
D | random.rs | 1 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
|
D | sherlock.rs | 1 use criterion::Criterion; 11 pub fn all(c: &mut Criterion) { in all() argument 73 c: &mut Criterion, in define_sherlock() argument
|
D | same.rs | 1 use criterion::Criterion; 10 pub fn all(c: &mut Criterion) { in all() argument 30 c: &mut Criterion, in define_same() argument
|
D | bench.rs | 5 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
|
D | build.rs | 2 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/ |
D | xid.rs | 24 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/ |
D | json.rs | 7 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
|
D | number.rs | 7 use criterion::Criterion; 14 fn number(c: &mut Criterion) { in number() argument
|
D | ini.rs | 48 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
|
D | arithmetic.rs | 7 use criterion::Criterion; 69 fn arithmetic(c: &mut Criterion) { in arithmetic() argument
|
D | ini_str.rs | 68 fn bench_ini_str(c: &mut Criterion) { in bench_ini_str() argument
|
D | http.rs | 156 fn one_test(c: &mut Criterion) { in one_test() argument
|
/third_party/rust/crates/memchr/bench/src/ |
D | bench.rs | 2 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/ |
D | sliceslice.rs | 26 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
|
D | mod.rs | 95 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/aho-corasick/bench/ |
D | Cargo.toml | 6 description = "Criterion benchmark suite for aho-corasick."
|
/third_party/rust/crates/memchr/bench/ |
D | Cargo.toml | 6 description = "Criterion benchmark suite for memchr."
|
/third_party/rust/crates/memchr/bench/src/memchr/ |
D | mod.rs | 1 use criterion::{Bencher, Criterion}; 25 pub fn all(c: &mut Criterion) { in all() argument 771 c: &mut Criterion, in define_memchr_input1() argument 795 c: &mut Criterion, in define_memchr_input2() argument 819 c: &mut Criterion, in define_memchr_input3() argument
|