Home
last modified time | relevance | path

Searched refs:bench (Results 1 – 25 of 718) sorted by relevance

12345678910>>...29

/external/rust/crates/unicode-segmentation/benches/
Dgraphemes.rs9 fn graphemes(bench: &mut Bencher, path: &str) { in graphemes()
11 bench.iter(|| { in graphemes()
17 bench.bytes = text.len() as u64; in graphemes()
20 fn graphemes_arabic(bench: &mut Bencher) { in graphemes_arabic()
21 graphemes(bench, "benches/texts/arabic.txt"); in graphemes_arabic()
24 fn graphemes_english(bench: &mut Bencher) { in graphemes_english()
25 graphemes(bench, "benches/texts/english.txt"); in graphemes_english()
28 fn graphemes_hindi(bench: &mut Bencher) { in graphemes_hindi()
29 graphemes(bench, "benches/texts/hindi.txt"); in graphemes_hindi()
32 fn graphemes_japanese(bench: &mut Bencher) { in graphemes_japanese()
[all …]
/external/python/cpython3/Tools/stringbench/
Dstringbench.py57 def bench(s, group, repeat_count): function
75 @bench('"A" in "A"*1000', "early match, single character", 1000)
82 @bench('"B" in "A"*1000', "no match, single character", 1000)
90 @bench('"AB" in "AB"*1000', "early match, two characters", 1000)
97 @bench('"BC" in "AB"*1000', "no match, two characters", 1000)
104 @bench('"BC" in ("AB"*300+"C")', "late match, two characters", 1000)
111 @bench('s="ABC"*33; (s+"E") in ((s+"D")*300+s+"E")',
124 @bench('s="ABC"*33; re.compile(s+"D").search((s+"D")*300+s+"E")',
140 @bench('("A"*1000).find("A")', "early match, single character", 1000)
148 @bench('("A"*1000).find("B")', "no match, single character", 1000)
[all …]
/external/rust/crates/unicode-normalization/benches/
Dbench.rs14 #[bench]
19 #[bench]
24 #[bench]
29 #[bench]
34 #[bench]
39 #[bench]
44 #[bench]
49 #[bench]
54 #[bench]
59 #[bench]
[all …]
/external/eigen/bench/btl/libs/BLAS/
Dmain.cpp39 bench<Action_axpy<blas_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT); in main()
40 bench<Action_axpby<blas_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT); in main()
42 bench<Action_matrix_vector_product<blas_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main()
43 bench<Action_atv_product<blas_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main()
44 bench<Action_symv<blas_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main()
45 bench<Action_syr2<blas_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main()
47 bench<Action_ger<blas_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main()
48 bench<Action_rot<blas_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT); in main()
50 bench<Action_matrix_matrix_product<blas_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main()
52 bench<Action_aat_product<blas_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main()
[all …]
/external/rust/crates/csv-core/benches/
Dbench.rs16 macro_rules! bench { macro
18 bench!($name, $data, $counter, $result, false);
21 bench!($name, $data, $counter, $result, true);
24 #[bench]
37 bench!(count_nfl_field_copy_dfa, NFL, count_fields, 130000);
38 bench!(count_nfl_field_copy_nfa, NFL, count_fields, 130000, NFA);
39 bench!(count_nfl_record_copy_dfa, NFL, count_records, 10000);
40 bench!(count_nfl_record_copy_nfa, NFL, count_records, 10000, NFA);
42 bench!(count_game_field_copy_dfa, GAME, count_fields, 600000);
43 bench!(count_game_field_copy_nfa, GAME, count_fields, 600000, NFA);
[all …]
/external/libxkbcommon/bench/
Dbench.c64 bench_start(struct bench *bench) in bench_start() argument
68 bench->start = (struct bench_time) { in bench_start()
75 bench_stop(struct bench *bench) in bench_stop() argument
79 bench->stop = (struct bench_time) { in bench_stop()
86 bench_elapsed(const struct bench *bench, struct bench_time *result) in bench_elapsed() argument
88 result->seconds = bench->stop.seconds - bench->start.seconds; in bench_elapsed()
89 result->microseconds = bench->stop.microseconds - bench->start.microseconds; in bench_elapsed()
97 bench_elapsed_str(const struct bench *bench) in bench_elapsed_str() argument
103 bench_elapsed(bench, &elapsed); in bench_elapsed_str()
Dbench.h33 struct bench { struct
39 bench_start(struct bench *bench);
41 bench_stop(struct bench *bench);
44 bench_elapsed(const struct bench *bench, struct bench_time *result);
47 bench_elapsed_str(const struct bench *bench);
/external/eigen/bench/perf_monitoring/gemm/
Drun.sh14 bench=$1
91 count_ref=`cat $bench"_settings.txt" | wc -l`
100 …if $CXX -O2 -DNDEBUG -march=native $CXX_FLAGS -I eigen_src $bench.cpp -DSCALAR=$scalar -o $name; t…
120 make_backup $PREFIX"s"$bench
121 make_backup $PREFIX"d"$bench
122 make_backup $PREFIX"c"$bench
133 test_current $actual_rev float $PREFIX"s"$bench
134 test_current $actual_rev double $PREFIX"d"$bench
135 test_current $actual_rev "std::complex<double>" $PREFIX"c"$bench
141 cat $PREFIX"s""$bench.out"
[all …]
/external/rust/crates/ahash/tests/
Dbench.rs74 c.bench( in bench_ahash()
78 c.bench( in bench_ahash()
82 c.bench( in bench_ahash()
86 c.bench( in bench_ahash()
90 c.bench( in bench_ahash()
94 c.bench( in bench_ahash()
101 c.bench( in bench_fallback()
105 c.bench( in bench_fallback()
109 c.bench( in bench_fallback()
113 c.bench( in bench_fallback()
[all …]
/external/eigen/bench/
DbenchFFT.cpp44 void bench(int nfft,bool fwd,bool unscaled=false, bool halfspec=false) in bench() function
99 bench<complex<float> >(NFFT,true); in main()
100 bench<complex<float> >(NFFT,false); in main()
101 bench<float>(NFFT,true); in main()
102 bench<float>(NFFT,false); in main()
103 bench<float>(NFFT,false,true); in main()
104 bench<float>(NFFT,false,true,true); in main()
106 bench<complex<double> >(NFFT,true); in main()
107 bench<complex<double> >(NFFT,false); in main()
108 bench<double>(NFFT,true); in main()
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/docs/
DBENCHMARKS1 $ python3.4 -OO bench/main.py bench/*.css
5 Benchmarking 'bench/wikipedia.css'... (81.0 KiB)
10 Benchmarking 'bench/wikipedia.min.css'... (49.4 KiB)
16 $ python3.3 -OO bench/main.py bench/*.css
20 Benchmarking 'bench/wikipedia.css'... (81.0 KiB)
25 Benchmarking 'bench/wikipedia.min.css'... (49.4 KiB)
31 $ python3.2 -OO bench/main.py bench/*.css
35 Benchmarking 'bench/wikipedia.css'... (81.0 KiB)
40 Benchmarking 'bench/wikipedia.min.css'... (49.4 KiB)
46 $ python2.7 -OO bench/main.py bench/*.css
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/docs/
DBENCHMARKS1 $ python3.5 -OO bench/main.py bench/*.js
5 Benchmarking 'bench/apiviewer.js'... (953.2 KiB)
11 Benchmarking 'bench/bootstrap.js'... (49.0 KiB)
17 Benchmarking 'bench/DateTimeShortcuts.js'... (18.3 KiB)
23 Benchmarking 'bench/jquery-1.7.1.js'... (242.4 KiB)
29 Benchmarking 'bench/knockout-2.0.0.js'... (38.9 KiB)
35 Benchmarking 'bench/markermanager.js'... (28.6 KiB)
42 $ python3.4 -OO bench/main.py bench/*.js
46 Benchmarking 'bench/apiviewer.js'... (953.2 KiB)
52 Benchmarking 'bench/bootstrap.js'... (49.0 KiB)
[all …]
/external/toolchain-utils/android_bench_suite/
Dparse_result.py11 def normalize(bench, dict_list): argument
22 result_dict[key] = result_dict[key] / bench_base[bench]
27 def parse_Panorama(bench, fin): argument
35 return normalize(bench, [result_dict])
40 def parse_Synthmark(bench, fin): argument
53 return normalize(bench, [result_dict])
58 def parse_Binder(bench, fin): argument
72 return normalize(bench, [result_dict])
77 def parse_Dex2oat(bench, fin): argument
94 return normalize(bench, [result_dict])
[all …]
Dgen_json.py50 def collect_data(infile, bench, it): argument
53 if bench not in config.bench_parser_dict:
55 raise ValueError('Wrong benchmark name: %s' % bench)
56 parse = config.bench_parser_dict[bench]
57 result_dict = parse(bench, fin)
61 def create_outfile(outfile, bench): argument
63 obj_null = {'data': {bench.lower(): []}, 'platforms': []}
67 def get_outfile(outfile, bench): argument
71 create_outfile(outfile, bench)
77 bench = arguments.bench
[all …]
Drun.py167 for bench in config.bench_list:
168 result = os.path.join(config.bench_suite_dir, bench + '.json')
172 logging.info('no %s json file need to be removed. Ignored.', bench)
248 def build_bench(setting_no, bench, compiler, llvm_version, build_os, cflags, argument
251 build_cmd = ['./build_bench.py', '-b=' + bench]
273 def run_and_collect_result(test_cmd, setting_no, i, bench, serial='default'): argument
288 new_bench_result = 'bench_result_%s_%s_%d_%d' % (bench, serial, setting_no, i)
300 def test_bench(bench, setting_no, iterations, serials, remote, mode): argument
311 test_cmd.append('-b=' + bench)
322 run_and_collect_result(test_cmd, setting_no, i, bench, serial)
[all …]
Dbuild_bench.py60 def set_flags(bench, cflags, ldflags): argument
73 add_flags = config.bench_flags_dict[bench]
128 def set_compiler_env(bench, compiler, build_os, llvm_prebuilts_version, cflags, argument
141 set_flags(bench, cflags, ldflags)
159 def restore_makefile(bench): argument
160 pwd = os.path.join(config.android_home, config.bench_dict[bench])
168 def build_bench(bench, source_dir): argument
181 log_head = 'Log for building benchmark: %s\n' % (bench)
189 restore_makefile(bench)
192 logging.info('Logs for building benchmark %s are written to %s.', bench,
[all …]
Dset_flags.py15 def backup_file(bench, file_type): argument
16 mk_file = os.path.join(config.android_home, config.bench_dict[bench],
23 os.path.join(config.android_home, config.bench_dict[bench],
27 raise OSError('Cannot backup Android.%s file for %s' % (file_type, bench))
32 def replace_flags(bench, android_type, file_type, cflags, ldflags): argument
51 bench_diff = bench + '_flags_aosp.diff'
53 bench_diff = bench + '_flags_internal.diff'
67 def apply_patches(bench): argument
68 bench_dir = os.path.join(config.android_home, config.bench_dict[bench])
75 raise OSError('Patch for adding flags for %s does not succeed.' % (bench))
[all …]
/external/rust/crates/idna/benches/
Dall.rs8 fn to_unicode_puny_label(bench: &mut Bencher) { in to_unicode_puny_label()
11 bench.iter(|| config.to_unicode(black_box(encoded))); in to_unicode_puny_label()
14 fn to_unicode_ascii(bench: &mut Bencher) { in to_unicode_ascii()
17 bench.iter(|| config.to_unicode(black_box(encoded))); in to_unicode_ascii()
20 fn to_unicode_merged_label(bench: &mut Bencher) { in to_unicode_merged_label()
23 bench.iter(|| config.to_unicode(black_box(encoded))); in to_unicode_merged_label()
26 fn to_ascii_puny_label(bench: &mut Bencher) { in to_ascii_puny_label()
29 bench.iter(|| config.to_ascii(black_box(encoded))); in to_ascii_puny_label()
32 fn to_ascii_simple(bench: &mut Bencher) { in to_ascii_simple()
35 bench.iter(|| config.to_ascii(black_box(encoded))); in to_ascii_simple()
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/
DMANIFEST23 bench
24 bench.sh
25 bench/DateTimeShortcuts.js
26 bench/__init__.py
27 bench/apiviewer.js
28 bench/bootstrap.js
29 bench/jquery-1.7.1.js
30 bench/jsmin.c
31 bench/jsmin.py
32 bench/jsmin_2_0_9.py
[all …]
/external/FXdiv/
DCMakeLists.txt88 ADD_EXECUTABLE(init-bench bench/init.cc)
89 SET_TARGET_PROPERTIES(init-bench PROPERTIES
92 TARGET_LINK_LIBRARIES(init-bench fxdiv benchmark)
94 ADD_EXECUTABLE(multiply-bench bench/multiply.cc)
95 SET_TARGET_PROPERTIES(multiply-bench PROPERTIES
98 TARGET_LINK_LIBRARIES(multiply-bench fxdiv benchmark)
100 ADD_EXECUTABLE(divide-bench bench/divide.cc)
101 SET_TARGET_PROPERTIES(divide-bench PROPERTIES
104 TARGET_LINK_LIBRARIES(divide-bench fxdiv benchmark)
106 ADD_EXECUTABLE(quotient-bench bench/quotient.cc)
[all …]
/external/rust/crates/bytes/benches/
Dbytes_mut.rs9 #[bench]
18 #[bench]
25 #[bench]
32 #[bench]
44 #[bench]
63 #[bench]
76 #[bench]
92 #[bench]
105 #[bench]
114 #[bench]
[all …]
/external/eigen/bench/btl/libs/STL/
Dmain.cpp29 bench<Action_axpy<STL_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT); in main()
30 bench<Action_axpby<STL_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT); in main()
31 bench<Action_matrix_vector_product<STL_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main()
32 bench<Action_atv_product<STL_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main()
33 bench<Action_symv<STL_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main()
34 bench<Action_syr2<STL_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main()
35 bench<Action_matrix_matrix_product<STL_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main()
36 bench<Action_ata_product<STL_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main()
37 bench<Action_aat_product<STL_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main()
/external/eigen/bench/btl/libs/gmm/
Dmain.cpp30 bench<Action_axpy<gmm_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT); in main()
31 bench<Action_axpby<gmm_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT); in main()
33 bench<Action_matrix_vector_product<gmm_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main()
34 bench<Action_atv_product<gmm_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main()
36 bench<Action_matrix_matrix_product<gmm_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main()
40 bench<Action_trisolve<gmm_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main()
43 bench<Action_partial_lu<gmm_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main()
45 bench<Action_hessenberg<gmm_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main()
46 bench<Action_tridiagonalization<gmm_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main()
/external/skia/tools/calmbench/
Dab.py107 def add_time(args, name, bench, t, unit): argument
110 append_dict_sorted_array(timesA, bench, normalized_t)
112 append_dict_sorted_array(timesB, bench, normalized_t)
121 bench = items[10]
127 add_time(args, name, bench, float(time_num), time_unit)
255 for bench in timesA.keys():
256 if bench not in timesB:
258 lowerA, upperA = get_lower_upper(timesA[bench])
259 lowerB, upperB = get_lower_upper(timesB[bench])
261 suspects.append(bench)
[all …]
/external/skqp/tools/calmbench/
Dab.py105 def add_time(args, name, bench, t, unit): argument
108 append_dict_sorted_array(timesA, bench, normalized_t)
110 append_dict_sorted_array(timesB, bench, normalized_t)
119 bench = items[10]
125 add_time(args, name, bench, float(time_num), time_unit)
253 for bench in timesA.keys():
254 if bench not in timesB:
256 lowerA, upperA = get_lower_upper(timesA[bench])
257 lowerB, upperB = get_lower_upper(timesB[bench])
259 suspects.append(bench)
[all …]

12345678910>>...29