/external/python/cpython3/Tools/stringbench/ |
D | stringbench.py | 57 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/eigen/bench/btl/libs/BLAS/ |
D | main.cpp | 39 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/eigen/bench/perf_monitoring/gemm/ |
D | run.sh | 14 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/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/docs/ |
D | BENCHMARKS | 1 $ 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/eigen/bench/ |
D | benchFFT.cpp | 44 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/ |
D | BENCHMARKS | 1 $ 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/toolchain-utils/android_bench_suite/ |
D | parse_result.py | 11 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 …]
|
D | gen_json.py | 50 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 …]
|
D | run.py | 167 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 …]
|
D | build_bench.py | 60 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 …]
|
D | set_flags.py | 15 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 …]
|
D | skia_internal.diff | 1 diff --git a/bench/ResultsWriter.h b/bench/ResultsWriter.h 3 --- a/bench/ResultsWriter.h 4 +++ b/bench/ResultsWriter.h 33 diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp 35 --- a/bench/nanobench.cpp 36 +++ b/bench/nanobench.cpp 47 bench->perCanvasPreDraw(canvas); 52 ? setup_gpu_bench(target, bench.get(), maxFrameLag) 53 : setup_cpu_bench(overhead, target, bench.get());
|
D | skia_aosp.diff | 1 diff --git a/bench/ResultsWriter.h b/bench/ResultsWriter.h 3 --- a/bench/ResultsWriter.h 4 +++ b/bench/ResultsWriter.h 33 diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp 35 --- a/bench/nanobench.cpp 36 +++ b/bench/nanobench.cpp 47 bench->perCanvasPreDraw(canvas); 52 ? setup_gpu_bench(target, bench.get(), maxFrameLag) 53 : setup_cpu_bench(overhead, target, bench.get());
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/ |
D | MANIFEST | 23 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/skia/tools/calmbench/ |
D | ab.py | 104 def add_time(args, name, bench, t, unit): argument 107 append_dict_sorted_array(timesA, bench, normalized_t) 109 append_dict_sorted_array(timesB, bench, normalized_t) 118 bench = items[10] 124 add_time(args, name, bench, float(time_num), time_unit) 223 for bench in timesA.keys(): 224 if bench not in timesB: 226 lowerA, upperA = get_lower_upper(timesA[bench]) 227 lowerB, upperB = get_lower_upper(timesB[bench]) 229 suspects.append(bench) [all …]
|
/external/skqp/tools/calmbench/ |
D | ab.py | 104 def add_time(args, name, bench, t, unit): argument 107 append_dict_sorted_array(timesA, bench, normalized_t) 109 append_dict_sorted_array(timesB, bench, normalized_t) 118 bench = items[10] 124 add_time(args, name, bench, float(time_num), time_unit) 223 for bench in timesA.keys(): 224 if bench not in timesB: 226 lowerA, upperA = get_lower_upper(timesA[bench]) 227 lowerB, upperB = get_lower_upper(timesB[bench]) 229 suspects.append(bench) [all …]
|
/external/eigen/bench/btl/libs/STL/ |
D | main.cpp | 29 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/ |
D | main.cpp | 30 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/bench/ |
D | nanobench.cpp | 145 bool Target::init(SkImageInfo info, Benchmark* bench) { in init() argument 192 bool init(SkImageInfo info, Benchmark* bench) override { in init() 194 bench->modifyGrContextOptions(&options); in init() 240 static double time(int loops, Benchmark* bench, Target* target) { in time() argument 245 bench->preDraw(canvas); in time() 248 bench->draw(loops, canvas); in time() 254 bench->postDraw(canvas); in time() 322 static int setup_cpu_bench(const double overhead, Target* target, Benchmark* bench) { in setup_cpu_bench() argument 326 int loops = bench->calculateLoops(FLAGS_loops); in setup_cpu_bench() 331 bench->getUniqueName(), HUMANIZE(bench_plus_overhead), HUMANIZE(overhead)); in setup_cpu_bench() [all …]
|
/external/skqp/bench/ |
D | nanobench.cpp | 145 bool Target::init(SkImageInfo info, Benchmark* bench) { in init() argument 192 bool init(SkImageInfo info, Benchmark* bench) override { in init() 194 bench->modifyGrContextOptions(&options); in init() 240 static double time(int loops, Benchmark* bench, Target* target) { in time() argument 245 bench->preDraw(canvas); in time() 248 bench->draw(loops, canvas); in time() 254 bench->postDraw(canvas); in time() 322 static int setup_cpu_bench(const double overhead, Target* target, Benchmark* bench) { in setup_cpu_bench() argument 326 int loops = bench->calculateLoops(FLAGS_loops); in setup_cpu_bench() 331 bench->getUniqueName(), HUMANIZE(bench_plus_overhead), HUMANIZE(overhead)); in setup_cpu_bench() [all …]
|
/external/trappy/trappy/wa/ |
D | results.py | 76 for bench in self.columns.levels[0]: 77 self.plot_results_benchmark(bench) 127 bench = row[1] 133 if bench in bench_dict: 134 if run_id in bench_dict[bench]: 135 if run_number not in bench_dict[bench][run_id]: 136 bench_dict[bench][run_id][run_number] = result 138 bench_dict[bench][run_id] = {run_number: result} 140 bench_dict[bench] = {run_id: {run_number: result}} 143 for bench, run_id_dict in bench_dict.iteritems(): [all …]
|
/external/eigen/bench/btl/libs/eigen2/ |
D | main_adv.cpp | 32 bench<Action_trisolve<eigen2_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main() 33 bench<Action_trisolve_matrix<eigen2_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main() 34 bench<Action_cholesky<eigen2_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main() 35 bench<Action_lu_decomp<eigen2_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main() 38 bench<Action_hessenberg<eigen2_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main() 39 bench<Action_tridiagonalization<eigen2_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main()
|
/external/eigen/bench/btl/libs/blitz/ |
D | btl_blitz.cpp | 37 bench<Action_matrix_vector_product<blitz_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main() 38 bench<Action_atv_product<blitz_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main() 40 bench<Action_matrix_matrix_product<blitz_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main() 41 bench<Action_ata_product<blitz_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main() 42 bench<Action_aat_product<blitz_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main() 44 bench<Action_axpy<blitz_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT); in main()
|
/external/eigen/bench/btl/libs/mtl4/ |
D | main.cpp | 30 bench<Action_axpy<mtl4_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT); in main() 31 bench<Action_axpby<mtl4_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT); in main() 33 bench<Action_matrix_vector_product<mtl4_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main() 34 bench<Action_atv_product<mtl4_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main() 35 bench<Action_matrix_matrix_product<mtl4_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main() 39 bench<Action_trisolve<mtl4_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main()
|
/external/eigen/bench/btl/libs/ublas/ |
D | main.cpp | 29 bench<Action_axpy<ublas_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT); in main() 30 bench<Action_axpby<ublas_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT); in main() 32 bench<Action_matrix_vector_product<ublas_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main() 33 bench<Action_atv_product<ublas_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main() 35 bench<Action_matrix_matrix_product<ublas_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main() 39 bench<Action_trisolve<ublas_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main()
|