| /external/rust/crates/num-bigint/benches/ |
| D | bigint.rs | 14 fn multiply_bench(b: &mut Bencher, xbits: u64, ybits: u64) { in multiply_bench() 22 fn divide_bench(b: &mut Bencher, xbits: u64, ybits: u64) { in divide_bench() 30 fn remainder_bench(b: &mut Bencher, xbits: u64, ybits: u64) { in remainder_bench() 71 fn multiply_0(b: &mut Bencher) { in multiply_0() 76 fn multiply_1(b: &mut Bencher) { in multiply_1() 81 fn multiply_2(b: &mut Bencher) { in multiply_2() 86 fn multiply_3(b: &mut Bencher) { in multiply_3() 91 fn divide_0(b: &mut Bencher) { in divide_0() 96 fn divide_1(b: &mut Bencher) { in divide_1() 101 fn divide_2(b: &mut Bencher) { in divide_2() [all …]
|
| D | roots.rs | 39 fn bench_sqrt(b: &mut Bencher, bits: u64) { in bench_sqrt() 48 fn big64_sqrt(b: &mut Bencher) { in big64_sqrt() 53 fn big1k_sqrt(b: &mut Bencher) { in big1k_sqrt() 58 fn big2k_sqrt(b: &mut Bencher) { in big2k_sqrt() 63 fn big4k_sqrt(b: &mut Bencher) { in big4k_sqrt() 67 fn bench_cbrt(b: &mut Bencher, bits: u64) { in bench_cbrt() 76 fn big64_cbrt(b: &mut Bencher) { in big64_cbrt() 81 fn big1k_cbrt(b: &mut Bencher) { in big1k_cbrt() 86 fn big2k_cbrt(b: &mut Bencher) { in big2k_cbrt() 91 fn big4k_cbrt(b: &mut Bencher) { in big4k_cbrt() [all …]
|
| D | gcd.rs | 14 fn bench(b: &mut Bencher, bits: u64, gcd: fn(&BigUint, &BigUint) -> BigUint) { in bench() 37 fn gcd_euclid_0064(b: &mut Bencher) { in gcd_euclid_0064() 42 fn gcd_euclid_0256(b: &mut Bencher) { in gcd_euclid_0256() 47 fn gcd_euclid_1024(b: &mut Bencher) { in gcd_euclid_1024() 52 fn gcd_euclid_4096(b: &mut Bencher) { in gcd_euclid_4096() 59 fn gcd_stein_0064(b: &mut Bencher) { in gcd_stein_0064() 64 fn gcd_stein_0256(b: &mut Bencher) { in gcd_stein_0256() 69 fn gcd_stein_1024(b: &mut Bencher) { in gcd_stein_1024() 74 fn gcd_stein_4096(b: &mut Bencher) { in gcd_stein_4096()
|
| D | factorial.rs | 11 fn factorial_mul_biguint(b: &mut Bencher) { in factorial_mul_biguint() 20 fn factorial_mul_u32(b: &mut Bencher) { in factorial_mul_u32() 28 fn factorial_div_biguint(b: &mut Bencher) { in factorial_div_biguint() 39 fn factorial_div_u32(b: &mut Bencher) { in factorial_div_u32()
|
| /external/rust/crates/unicode-normalization/benches/ |
| D | bench.rs | 15 fn bench_is_nfc_ascii(b: &mut Bencher) { in bench_is_nfc_ascii() 20 fn bench_is_nfc_normalized(b: &mut Bencher) { in bench_is_nfc_normalized() 25 fn bench_is_nfc_not_normalized(b: &mut Bencher) { in bench_is_nfc_not_normalized() 30 fn bench_is_nfd_ascii(b: &mut Bencher) { in bench_is_nfd_ascii() 35 fn bench_is_nfd_normalized(b: &mut Bencher) { in bench_is_nfd_normalized() 40 fn bench_is_nfd_not_normalized(b: &mut Bencher) { in bench_is_nfd_not_normalized() 45 fn bench_is_nfc_stream_safe_ascii(b: &mut Bencher) { in bench_is_nfc_stream_safe_ascii() 50 fn bench_is_nfc_stream_safe_normalized(b: &mut Bencher) { in bench_is_nfc_stream_safe_normalized() 55 fn bench_is_nfc_stream_safe_not_normalized(b: &mut Bencher) { in bench_is_nfc_stream_safe_not_normalized() 60 fn bench_is_nfd_stream_safe_ascii(b: &mut Bencher) { in bench_is_nfd_stream_safe_ascii() [all …]
|
| /external/rust/crates/crossbeam-channel/benches/ |
| D | crossbeam.rs | 15 fn create(b: &mut Bencher) { in create() 20 fn oneshot(b: &mut Bencher) { in oneshot() 29 fn inout(b: &mut Bencher) { in inout() 38 fn par_inout(b: &mut Bencher) { in par_inout() 72 fn spsc(b: &mut Bencher) { in spsc() 101 fn spmc(b: &mut Bencher) { in spmc() 137 fn mpsc(b: &mut Bencher) { in mpsc() 173 fn mpmc(b: &mut Bencher) { in mpmc() 220 fn spsc(b: &mut Bencher) { in spsc() 249 fn spmc(b: &mut Bencher) { in spmc() [all …]
|
| /external/rust/crates/bytes/benches/ |
| D | bytes_mut.rs | 10 fn alloc_small(b: &mut Bencher) { in alloc_small() 19 fn alloc_mid(b: &mut Bencher) { in alloc_mid() 26 fn alloc_big(b: &mut Bencher) { in alloc_big() 33 fn deref_unique(b: &mut Bencher) { in deref_unique() 45 fn deref_unique_unroll(b: &mut Bencher) { in deref_unique_unroll() 64 fn deref_shared(b: &mut Bencher) { in deref_shared() 77 fn deref_two(b: &mut Bencher) { in deref_two() 93 fn clone_frozen(b: &mut Bencher) { in clone_frozen() 106 fn alloc_write_split_to_mid(b: &mut Bencher) { in alloc_write_split_to_mid() 115 fn drain_write_drain(b: &mut Bencher) { in drain_write_drain() [all …]
|
| D | bytes.rs | 10 fn deref_unique(b: &mut Bencher) { in deref_unique() 21 fn deref_shared(b: &mut Bencher) { in deref_shared() 33 fn deref_static(b: &mut Bencher) { in deref_static() 44 fn clone_static(b: &mut Bencher) { in clone_static() 56 fn clone_shared(b: &mut Bencher) { in clone_shared() 67 fn clone_arc_vec(b: &mut Bencher) { in clone_arc_vec() 79 fn from_long_slice(b: &mut Bencher) { in from_long_slice() 89 fn slice_empty(b: &mut Bencher) { in slice_empty() 100 fn slice_short_from_arc(b: &mut Bencher) { in slice_short_from_arc() 111 fn split_off_and_drop(b: &mut Bencher) { in split_off_and_drop()
|
| /external/rust/crates/indexmap/benches/ |
| D | bench.rs | 30 fn new_hashmap(b: &mut Bencher) { in new_hashmap() 35 fn new_indexmap(b: &mut Bencher) { in new_indexmap() 40 fn with_capacity_10e5_hashmap(b: &mut Bencher) { in with_capacity_10e5_hashmap() 45 fn with_capacity_10e5_indexmap(b: &mut Bencher) { in with_capacity_10e5_indexmap() 50 fn insert_hashmap_10_000(b: &mut Bencher) { in insert_hashmap_10_000() 62 fn insert_indexmap_10_000(b: &mut Bencher) { in insert_indexmap_10_000() 74 fn insert_hashmap_string_10_000(b: &mut Bencher) { in insert_hashmap_string_10_000() 86 fn insert_indexmap_string_10_000(b: &mut Bencher) { in insert_indexmap_string_10_000() 98 fn insert_hashmap_str_10_000(b: &mut Bencher) { in insert_hashmap_str_10_000() 111 fn insert_indexmap_str_10_000(b: &mut Bencher) { in insert_indexmap_str_10_000() [all …]
|
| /external/rust/crates/uuid/benches/ |
| D | parse_str.rs | 8 fn parse_nil(b: &mut Bencher) { in parse_nil() 13 fn parse_nil_hyphenated(b: &mut Bencher) { in parse_nil_hyphenated() 18 fn parse_random(b: &mut Bencher) { in parse_random() 23 fn parse_random_hyphenated(b: &mut Bencher) { in parse_random_hyphenated() 28 fn parse_urn(b: &mut Bencher) { in parse_urn() 33 fn parse_invalid_len(b: &mut Bencher) { in parse_invalid_len() 38 fn parse_invalid_character(b: &mut Bencher) { in parse_invalid_character() 43 fn parse_invalid_group_len(b: &mut Bencher) { in parse_invalid_group_len() 48 fn parse_invalid_groups(b: &mut Bencher) { in parse_invalid_groups()
|
| D | format_str.rs | 9 fn hyphenated(b: &mut Bencher) { in hyphenated() 19 fn simple(b: &mut Bencher) { in simple() 29 fn urn(b: &mut Bencher) { in urn() 39 fn encode_hyphen(b: &mut Bencher) { in encode_hyphen() 49 fn encode_simple(b: &mut Bencher) { in encode_simple() 59 fn encode_urn(b: &mut Bencher) { in encode_urn()
|
| /external/rust/crates/regex-syntax/benches/ |
| D | bench.rs | 9 fn parse_simple1(b: &mut Bencher) { in parse_simple1() 17 fn parse_simple2(b: &mut Bencher) { in parse_simple2() 25 fn parse_small1(b: &mut Bencher) { in parse_small1() 33 fn parse_medium1(b: &mut Bencher) { in parse_medium1() 41 fn parse_medium2(b: &mut Bencher) { in parse_medium2() 49 fn parse_medium3(b: &mut Bencher) { in parse_medium3() 58 fn parse_huge(b: &mut Bencher) { in parse_huge()
|
| /external/rust/crates/fastrand/benches/ |
| D | bench.rs | 10 fn shuffle_wyhash(b: &mut Bencher) { in shuffle_wyhash() 20 fn shuffle_fastrand(b: &mut Bencher) { in shuffle_fastrand() 30 fn u8_wyhash(b: &mut Bencher) { in u8_wyhash() 42 fn u8_fastrand(b: &mut Bencher) { in u8_fastrand() 54 fn u32_wyhash(b: &mut Bencher) { in u32_wyhash() 66 fn u32_fastrand(b: &mut Bencher) { in u32_fastrand() 78 fn fill(b: &mut Bencher) { in fill() 89 fn fill_naive(b: &mut Bencher) { in fill_naive()
|
| /external/rust/crates/crossbeam-utils/benches/ |
| D | atomic_cell.rs | 11 fn load_u8(b: &mut test::Bencher) { in load_u8() 19 fn store_u8(b: &mut test::Bencher) { in store_u8() 25 fn fetch_add_u8(b: &mut test::Bencher) { in fetch_add_u8() 31 fn compare_exchange_u8(b: &mut test::Bencher) { in compare_exchange_u8() 41 fn concurrent_load_u8(b: &mut test::Bencher) { in concurrent_load_u8() 85 fn load_usize(b: &mut test::Bencher) { in load_usize() 93 fn store_usize(b: &mut test::Bencher) { in store_usize() 99 fn fetch_add_usize(b: &mut test::Bencher) { in fetch_add_usize() 105 fn compare_exchange_usize(b: &mut test::Bencher) { in compare_exchange_usize() 115 fn concurrent_load_usize(b: &mut test::Bencher) { in concurrent_load_usize()
|
| /external/rust/crates/getrandom/benches/ |
| D | mod.rs | 36 fn bench<const N: usize>(b: &mut test::Bencher) { in bench() 49 fn bench_with_init<const N: usize>(b: &mut test::Bencher) { in bench_with_init() 70 fn bench_seed(b: &mut test::Bencher) { in bench_seed() 74 fn bench_seed_init(b: &mut test::Bencher) { in bench_seed_init() 79 fn bench_page(b: &mut test::Bencher) { in bench_page() 83 fn bench_page_init(b: &mut test::Bencher) { in bench_page_init() 88 fn bench_large(b: &mut test::Bencher) { in bench_large() 92 fn bench_large_init(b: &mut test::Bencher) { in bench_large_init()
|
| /external/rust/crates/crc32fast/benches/ |
| D | bench.rs | 10 fn bench(b: &mut Bencher, size: usize, hasher_init: Hasher) { in bench() 23 fn bench_kilobyte_baseline(b: &mut Bencher) { in bench_kilobyte_baseline() 27 fn bench_kilobyte_specialized(b: &mut Bencher) { in bench_kilobyte_specialized() 31 fn bench_megabyte_baseline(b: &mut Bencher) { in bench_megabyte_baseline() 35 fn bench_megabyte_specialized(b: &mut Bencher) { in bench_megabyte_specialized()
|
| /external/rust/crates/idna/benches/ |
| D | all.rs | 8 fn to_unicode_puny_label(bench: &mut Bencher) { in to_unicode_puny_label() 14 fn to_unicode_ascii(bench: &mut Bencher) { in to_unicode_ascii() 20 fn to_unicode_merged_label(bench: &mut Bencher) { in to_unicode_merged_label() 26 fn to_ascii_puny_label(bench: &mut Bencher) { in to_ascii_puny_label() 32 fn to_ascii_simple(bench: &mut Bencher) { in to_ascii_simple() 38 fn to_ascii_merged(bench: &mut Bencher) { in to_ascii_merged()
|
| /external/rust/crates/jni/benches/ |
| D | api_calls.rs | 137 fn native_call_function(b: &mut Bencher) { in native_call_function() 144 fn jni_call_static_abs_method_safe(b: &mut Bencher) { in jni_call_static_abs_method_safe() 151 fn jni_call_static_abs_method_unchecked_str(b: &mut Bencher) { in jni_call_static_abs_method_unchecked_str() 162 fn jni_call_static_abs_method_unchecked_jclass(b: &mut Bencher) { in jni_call_static_abs_method_unchecked_jclass() 173 fn jni_call_static_date_time_method_safe(b: &mut Bencher) { in jni_call_static_date_time_method_safe() 182 fn jni_call_static_date_time_method_unchecked_jclass(b: &mut Bencher) { in jni_call_static_date_time_method_unchecked_jclass() 209 fn jni_call_object_hash_method_safe(b: &mut Bencher) { in jni_call_object_hash_method_safe() 218 fn jni_call_object_hash_method_unchecked(b: &mut Bencher) { in jni_call_object_hash_method_unchecked() 230 fn jni_new_object_str(b: &mut Bencher) { in jni_new_object_str() 241 fn jni_new_object_by_id_str(b: &mut Bencher) { in jni_new_object_by_id_str() [all …]
|
| /external/rust/crates/unicode-width/src/ |
| D | tests.rs | 22 fn cargo(b: &mut Bencher) { in cargo() 35 fn stdlib(b: &mut Bencher) { in stdlib() 47 fn simple_if(b: &mut Bencher) { in simple_if() 59 fn simple_match(b: &mut Bencher) { in simple_match() 98 fn enwik8(b: &mut Bencher) { in enwik8() 106 fn jawiki(b: &mut Bencher) { in jawiki()
|
| /external/rust/crates/base64/benches/ |
| D | benchmarks.rs | 13 fn do_decode_bench(b: &mut Bencher, &size: &usize) { in do_decode_bench() 24 fn do_decode_bench_reuse_buf(b: &mut Bencher, &size: &usize) { in do_decode_bench_reuse_buf() 37 fn do_decode_bench_slice(b: &mut Bencher, &size: &usize) { in do_decode_bench_slice() 50 fn do_decode_bench_stream(b: &mut Bencher, &size: &usize) { in do_decode_bench_stream() 68 fn do_encode_bench(b: &mut Bencher, &size: &usize) { in do_encode_bench() 77 fn do_encode_bench_display(b: &mut Bencher, &size: &usize) { in do_encode_bench_display() 86 fn do_encode_bench_reuse_buf(b: &mut Bencher, &size: &usize) { in do_encode_bench_reuse_buf() 96 fn do_encode_bench_slice(b: &mut Bencher, &size: &usize) { in do_encode_bench_slice() 105 fn do_encode_bench_stream(b: &mut Bencher, &size: &usize) { in do_encode_bench_stream() 119 fn do_encode_bench_string_stream(b: &mut Bencher, &size: &usize) { in do_encode_bench_string_stream() [all …]
|
| /external/rust/crates/log/benches/ |
| D | value.rs | 10 fn u8_to_value(b: &mut test::Bencher) { in u8_to_value() 15 fn u8_to_value_debug(b: &mut test::Bencher) { in u8_to_value_debug() 20 fn str_to_value_debug(b: &mut test::Bencher) { in str_to_value_debug() 25 fn custom_to_value_debug(b: &mut test::Bencher) { in custom_to_value_debug()
|
| /external/rust/crates/libtest-mimic/tests/real/ |
| D | mixed_bag.rs | 26 fn red(b: &mut test::Bencher) { in red() 31 fn blue(_: &mut test::Bencher) { in blue() 37 fn purple(b: &mut test::Bencher) { in purple() 43 fn cyan(_: &mut test::Bencher) { in cyan()
|
| /external/rust/crates/protobuf/benches/ |
| D | coded_input_stream.rs | 24 fn read_byte(b: &mut Bencher) { in read_byte() 35 fn read_byte_no_eof(b: &mut Bencher) { in read_byte_no_eof() 47 fn read_byte_from_vec(b: &mut Bencher) { in read_byte_from_vec() 63 fn read_varint_12(b: &mut Bencher) { in read_varint_12() 85 fn read_varint_1(b: &mut Bencher) { in read_varint_1() 114 fn read_varint_large(b: &mut Bencher) { in read_varint_large()
|
| /external/rust/crates/smallvec/benches/ |
| D | bench.rs | 143 fn gen_push<V: Vector<u64>>(n: u64, b: &mut Bencher) { in gen_push() 158 fn gen_insert_push<V: Vector<u64>>(n: u64, b: &mut Bencher) { in gen_insert_push() 173 fn gen_insert<V: Vector<u64>>(n: u64, b: &mut Bencher) { in gen_insert() 191 fn gen_remove<V: Vector<u64>>(n: usize, b: &mut Bencher) { in gen_remove() 206 fn gen_extend<V: Vector<u64>>(n: u64, b: &mut Bencher) { in gen_extend() 214 fn gen_from_iter<V: Vector<u64>>(n: u64, b: &mut Bencher) { in gen_from_iter() 222 fn gen_from_slice<V: Vector<u64>>(n: u64, b: &mut Bencher) { in gen_from_slice() 230 fn gen_extend_from_slice<V: Vector<u64>>(n: u64, b: &mut Bencher) { in gen_extend_from_slice() 239 fn gen_pushpop<V: Vector<u64>>(b: &mut Bencher) { in gen_pushpop() 255 fn gen_from_elem<V: Vector<u64>>(n: usize, b: &mut Bencher) { in gen_from_elem() [all …]
|
| /external/flatbuffers/tests/rust_usage_test/benches/ |
| D | flexbuffers_benchmarks.rs | 18 fn push_vec_u64_to_map(b: &mut Bencher) { in push_vec_u64_to_map() 47 fn push_vec_u64_to_map_reused(b: &mut Bencher) { in push_vec_u64_to_map_reused() 77 fn push_vec_u64_to_map_direct(b: &mut Bencher) { in push_vec_u64_to_map_direct() 94 fn push_vec_u64_to_map_direct_reused(b: &mut Bencher) { in push_vec_u64_to_map_direct_reused() 113 fn push_vec_without_indirect(b: &mut Bencher) { in push_vec_without_indirect() 131 fn push_vec_with_indirect(b: &mut Bencher) { in push_vec_with_indirect() 154 fn hundred_maps(b: &mut Bencher) { in hundred_maps() 169 fn hundred_maps_pooled(b: &mut Bencher) { in hundred_maps_pooled() 212 fn serialize_monsters(b: &mut Bencher) { in serialize_monsters() 264 fn read_monsters(b: &mut Bencher) { in read_monsters()
|