| /external/flatbuffers/benchmarks/cpp/ |
| D | benchmark_main.cpp | 4 #include "benchmarks/cpp/bench.h" 9 std::unique_ptr<Bench> &bench, uint8_t *buffer) { in Encode() argument 12 bench->Encode(buffer, length); in Encode() 18 std::unique_ptr<Bench> &bench, uint8_t *buffer) { in Decode() argument 20 uint8_t *encoded = bench->Encode(buffer, length); in Decode() 23 void *decoded = bench->Decode(encoded, length); in Decode() 28 static inline void Use(benchmark::State &state, std::unique_ptr<Bench> &bench, in Use() argument 31 uint8_t *encoded = bench->Encode(buffer, length); in Use() 32 void *decoded = bench->Decode(encoded, length); in Use() 36 for (auto _ : state) { sum = bench->Use(decoded); } in Use() [all …]
|
| /external/cronet/buildtools/third_party/libc++/trunk/benchmarks/ |
| D | CMakeLists.txt | 160 algorithms.partition_point.bench.cpp 161 algorithms/equal.bench.cpp 162 algorithms/lower_bound.bench.cpp 163 algorithms/make_heap.bench.cpp 164 algorithms/make_heap_then_sort_heap.bench.cpp 165 algorithms/min.bench.cpp 166 algorithms/min_max_element.bench.cpp 167 algorithms/pop_heap.bench.cpp 168 algorithms/push_heap.bench.cpp 169 algorithms/ranges_make_heap.bench.cpp [all …]
|
| /external/rust/crates/num-bigint/benches/ |
| D | bigint.rs | 70 #[bench] 75 #[bench] 80 #[bench] 85 #[bench] 90 #[bench] 95 #[bench] 100 #[bench] 105 #[bench] 110 #[bench] 115 #[bench] [all …]
|
| D | gcd.rs | 14 fn bench(b: &mut Bencher, bits: u64, gcd: fn(&BigUint, &BigUint) -> BigUint) { in bench() function 36 #[bench] 38 bench(b, 64, euclid); in gcd_euclid_0064() 41 #[bench] 43 bench(b, 256, euclid); in gcd_euclid_0256() 46 #[bench] 48 bench(b, 1024, euclid); in gcd_euclid_1024() 51 #[bench] 53 bench(b, 4096, euclid); in gcd_euclid_4096() 58 #[bench] [all …]
|
| D | roots.rs | 47 #[bench] 52 #[bench] 57 #[bench] 62 #[bench] 75 #[bench] 80 #[bench] 85 #[bench] 90 #[bench] 103 #[bench] 108 #[bench] [all …]
|
| /external/skia/bench/ |
| D | BlendmodeBench.cpp | 8 #include "bench/Benchmark.h" 108 #define BENCH(mode) \ macro 113 BENCH(SkBlendMode::kClear) 114 BENCH(SkBlendMode::kSrc) 115 BENCH(SkBlendMode::kDst) 116 BENCH(SkBlendMode::kSrcOver) 117 BENCH(SkBlendMode::kDstOver) 118 BENCH(SkBlendMode::kSrcIn) 119 BENCH(SkBlendMode::kDstIn) 120 BENCH(SkBlendMode::kSrcOut) [all …]
|
| /external/rust/crates/fxhash/ |
| D | README.md | 39 bench_fnv_003 ... bench: 3 ns/iter (+/- 0) 40 bench_fnv_004 ... bench: 2 ns/iter (+/- 0) 41 bench_fnv_011 ... bench: 6 ns/iter (+/- 1) 42 bench_fnv_012 ... bench: 5 ns/iter (+/- 1) 43 bench_fnv_023 ... bench: 14 ns/iter (+/- 3) 44 bench_fnv_024 ... bench: 14 ns/iter (+/- 4) 45 bench_fnv_068 ... bench: 57 ns/iter (+/- 11) 46 bench_fnv_132 ... bench: 145 ns/iter (+/- 30) 47 bench_fx_003 ... bench: 4 ns/iter (+/- 0) 48 bench_fx_004 ... bench: 3 ns/iter (+/- 1) [all …]
|
| /external/rust/crates/csv-core/benches/ |
| D | bench.rs | 9 static NFL: &'static str = include_str!("../../examples/data/bench/nfl.csv"); 10 static GAME: &'static str = include_str!("../../examples/data/bench/game.csv"); 12 include_str!("../../examples/data/bench/worldcitiespop.csv"); 14 include_str!("../../examples/data/bench/gtfs-mbta-stop-times.csv"); 16 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); [all …]
|
| /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/linux-kselftest/tools/testing/selftests/bpf/ |
| D | bench.c | 13 #include "bench.h" 161 "USAGE: benchmark <bench-name>\n" 285 argp_help(&argp, stderr, ARGP_HELP_DOC, "bench"); in parse_cmdline_args() 366 const struct bench *bench = NULL; variable 368 extern const struct bench bench_count_global; 369 extern const struct bench bench_count_local; 370 extern const struct bench bench_rename_base; 371 extern const struct bench bench_rename_kprobe; 372 extern const struct bench bench_rename_kretprobe; 373 extern const struct bench bench_rename_rawtp; [all …]
|
| /external/eigen/bench/btl/libs/BLAS/ |
| D | main.cpp | 22 #include "bench.hh" 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() [all …]
|
| /external/FXdiv/ |
| D | CMakeLists.txt | 88 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/unicode-normalization/benches/ |
| D | bench.rs | 14 #[bench] 19 #[bench] 24 #[bench] 29 #[bench] 34 #[bench] 39 #[bench] 44 #[bench] 49 #[bench] 54 #[bench] 59 #[bench] [all …]
|
| /external/FP16/ |
| D | CMakeLists.txt | 154 ADD_EXECUTABLE(ieee-element-bench bench/ieee-element.cc) 155 TARGET_COMPILE_DEFINITIONS(ieee-element-bench PRIVATE FP16_COMPARATIVE_BENCHMARKS=1) 156 TARGET_INCLUDE_DIRECTORIES(ieee-element-bench PRIVATE ${PROJECT_SOURCE_DIR}) 157 TARGET_LINK_LIBRARIES(ieee-element-bench fp16 psimd benchmark) 159 ADD_EXECUTABLE(alt-element-bench bench/alt-element.cc) 160 TARGET_LINK_LIBRARIES(alt-element-bench fp16 psimd benchmark) 162 ADD_EXECUTABLE(from-ieee-array-bench bench/from-ieee-array.cc) 163 FP16_TARGET_ENABLE_CXX11(from-ieee-array-bench) 164 TARGET_COMPILE_DEFINITIONS(from-ieee-array-bench PRIVATE FP16_COMPARATIVE_BENCHMARKS=1) 165 TARGET_INCLUDE_DIRECTORIES(from-ieee-array-bench PRIVATE ${PROJECT_SOURCE_DIR}) [all …]
|
| /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/rust/crates/indexmap/benches/ |
| D | bench.rs | 29 #[bench] 34 #[bench] 39 #[bench] 44 #[bench] 49 #[bench] 61 #[bench] 73 #[bench] 85 #[bench] 97 #[bench] 110 #[bench] [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/skia/tools/calmbench/ |
| D | ab.py | 11 # For each bench, we get a distribution of min_ms measurements from nanobench. 16 # The more measurements we have for a bench, the more accurate our quantiles 107 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]) [all …]
|
| /external/libxkbcommon/bench/ |
| D | bench.c | 30 #include "bench.h" 64 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()
|
| /external/eigen/bench/ |
| D | benchFFT.cpp | 12 #include <bench/BenchUtil.h> 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() [all …]
|
| /external/owasp/java-encoder/core/src/test/java/org/owasp/encoder/ |
| D | BenchmarkTest.java | 89 for (Bench bench : BENCHMARKS) { in suite() 90 runBench(bench, loops, _samples, _output); in suite() 104 for (final Bench bench : BENCHMARKS) { in suite() 105 addTest(new TestCase(bench.toString()) { in suite() 108 long time = runBench(bench, LOOPS, _samples, _output); in suite() 113 bench, time / _denom, percentOnBaseline); in suite() 165 private static long runBench(Bench bench, int loops, String[] input, String[] output) { in runBench() argument 173 output[i] = bench.encode(input[i]); in runBench() 180 static abstract class Bench { class 182 public Bench(String name) {_name = name;} in Bench() method in Bench [all …]
|
| /external/eigen/bench/perf_monitoring/ |
| D | run.sh | 19 bench=$1 123 …echo "RUN: $CXX -O3 -DNDEBUG -march=native $CXX_FLAGS -I eigen_src $bench.cpp -DSCALAR=$scalar -o … 124 …if $CXX -O3 -DNDEBUG -march=native $CXX_FLAGS -I eigen_src $bench.cpp -DSCALAR=$scalar -o $name; t… 144 make_backup $WORKING_DIR_PREFIX"s"$bench 145 make_backup $WORKING_DIR_PREFIX"d"$bench 146 make_backup $WORKING_DIR_PREFIX"c"$bench 158 test_current $actual_rev float $WORKING_DIR_PREFIX"s"$bench 159 test_current $actual_rev double $WORKING_DIR_PREFIX"d"$bench 160 test_current $actual_rev "std::complex<double>" $WORKING_DIR_PREFIX"c"$bench 166 cat $WORKING_DIR_PREFIX"s""$bench.out" [all …]
|
| /external/python/bumble/docs/mkdocs/src/apps_and_tools/ |
| D | bench.md | 1 BENCH TOOL 4 The "bench" tool implements a number of different ways of measuring the 10 Usage: bench.py [OPTIONS] COMMAND [ARGS]... 29 Usage: bumble-bench central [OPTIONS] TRANSPORT 78 $ bumble-bench peripheral usb:0 83 $ bumble-bench central usb:1 92 $ bumble-bench --mode l2cap-server peripheral usb:0 97 $ bumble-bench --mode l2cap-client central usb:1 103 $ bumble-bench --mode rfcomm-server peripheral usb:0 113 …$ bumble-bench --mode rfcomm-client --packet-size 2000 --packet-count 100 central --peripheral 00:… [all …]
|
| /external/rust/crates/idna/benches/ |
| D | all.rs | 8 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/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 …]
|