/third_party/node/benchmark/child_process/ |
D | child-process-params.js | 21 const bench = common.createBenchmark(main, configs); constant 30 bench.start(); 32 bench.end(n); 35 bench.start(); 37 bench.end(n); 40 bench.start(); 42 bench.end(n); 49 bench.start(); 51 bench.end(n); 54 bench.start(); [all …]
|
/third_party/python/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 …]
|
/third_party/node/benchmark/buffers/ |
D | buffer-from.js | 5 const bench = common.createBenchmark(main, { constant 28 bench.start(); 32 bench.end(n); 37 bench.start(); 41 bench.end(n); 48 bench.start(); 52 bench.end(n); 57 bench.start(); 61 bench.end(n); 66 bench.start(); [all …]
|
D | buffer-write-string.js | 4 const bench = common.createBenchmark(main, { constant 23 bench.start(); 27 bench.end(n); 29 bench.start(); 33 bench.end(n); 39 bench.start(); 43 bench.end(n); 45 bench.start(); 49 bench.end(n); 55 bench.start(); [all …]
|
D | buffer-compare-instance-method.js | 4 const bench = common.createBenchmark(main, { constant 21 bench.start(); 25 bench.end(n); 29 bench.start(); 33 bench.end(n); 37 bench.start(); 41 bench.end(n); 45 bench.start(); 49 bench.end(n); 53 bench.start(); [all …]
|
D | buffer-tostring.js | 5 const bench = common.createBenchmark(main, { constant 20 bench.start(); 23 bench.end(n); 26 bench.start(); 29 bench.end(n); 32 bench.start(); 35 bench.end(n); 38 bench.start(); 41 bench.end(n);
|
D | buffer-write.js | 29 const bench = common.createBenchmark(main, { constant 91 bench.start(); 95 bench.end(Number(n)); 100 bench.start(); 104 bench.end(n); 110 bench.start(); 114 bench.end(n); 118 bench.start(); 122 bench.end(n);
|
/third_party/node/benchmark/es/ |
D | string-concatenations.js | 17 const bench = common.createBenchmark(main, configs); constant 27 bench.start(); 30 bench.end(n); 33 bench.start(); 36 bench.end(n); 39 bench.start(); 42 bench.end(n); 45 bench.start(); 48 bench.end(n); 51 bench.start(); [all …]
|
D | map-bench.js | 6 const bench = common.createBenchmark(main, { constant 16 bench.start(); 24 bench.end(n); 29 bench.start(); 37 bench.end(n); 42 bench.start(); 50 bench.end(n); 58 bench.start(); 66 bench.end(n); 81 bench.start(); [all …]
|
D | foreach-bench.js | 5 const bench = common.createBenchmark(main, { constant 12 bench.start(); 19 bench.end(n); 23 bench.start(); 28 bench.end(n); 32 bench.start(); 39 bench.end(n); 43 bench.start(); 47 bench.end(n);
|
D | spread-assign.js | 6 const bench = common.createBenchmark(main, { constant 22 bench.start(); 25 bench.end(n); 28 bench.start(); 31 bench.end(n); 34 bench.start(); 37 bench.end(n);
|
/third_party/node/benchmark/timers/ |
D | immediate.js | 4 const bench = common.createBenchmark(main, { constant 35 bench.start(); 40 bench.end(n); 49 bench.start(); 54 bench.end(N); 63 bench.start(); 67 bench.end(N); 77 bench.start(); 81 bench.end(n); 92 bench.start(); [all …]
|
/third_party/node/benchmark/process/ |
D | bench-env.js | 5 const bench = common.createBenchmark(main, { constant 14 bench.start(); 18 bench.end(n); 21 bench.start(); 25 bench.end(n); 35 bench.start(); 40 bench.end(n); 43 bench.start(); 47 bench.end(n); 50 bench.start(); [all …]
|
D | bench-hrtime.js | 6 const bench = common.createBenchmark(main, { constant 17 bench.start(); 21 bench.end(n); 24 bench.start(); 28 bench.end(n); 31 bench.start(); 35 bench.end(n);
|
/third_party/node/benchmark/streams/ |
D | creation.js | 10 const bench = common.createBenchmark(main, { constant 21 bench.start(); 24 bench.end(n); 30 bench.start(); 33 bench.end(n); 39 bench.start(); 42 bench.end(n); 48 bench.start(); 51 bench.end(n);
|
/third_party/skia/tools/calmbench/ |
D | ab.py | 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]) 259 lowerB, upperB = get_lower_upper(timesB[bench]) 261 suspects.append(bench) [all …]
|
/third_party/flutter/skia/tools/calmbench/ |
D | ab.py | 105 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 …]
|
/third_party/node/benchmark/events/ |
D | ee-emit.js | 5 const bench = common.createBenchmark(main, { constant 20 bench.start(); 24 bench.end(n); 27 bench.start(); 31 bench.end(n); 34 bench.start(); 38 bench.end(n); 41 bench.start(); 45 bench.end(n);
|
D | ee-once.js | 5 const bench = common.createBenchmark(main, { constant 17 bench.start(); 23 bench.end(n); 26 bench.start(); 32 bench.end(n); 35 bench.start(); 41 bench.end(n); 44 bench.start(); 50 bench.end(n);
|
/third_party/node/benchmark/misc/ |
D | object-property-bench.js | 7 const bench = common.createBenchmark(main, { constant 15 bench.start(); 21 bench.end(n); 27 bench.start(); 33 bench.end(n); 41 bench.start(); 47 bench.end(n); 55 bench.start(); 61 bench.end(n);
|
D | startup.js | 8 const bench = common.createBenchmark(main, { constant 30 function start(state, script, bench, getNode) { argument 54 start(state, script, bench, getNode); 56 bench.end(state.throughput); 74 bench.start(); 75 start(state, script, bench, spawnWorker); 77 bench.start(); 78 start(state, script, bench, spawnProcess);
|
/third_party/optimized-routines/string/ |
D | Dir.mk | 10 all-string bench-string check-string install-string clean-string: 17 string-bench-srcs := $(wildcard $(S)/bench/*.c) 45 build/bin/bench/memcpy \ 46 build/bin/bench/strlen 50 string-bench-objs := $(patsubst $(S)/%,$(B)/%.o,$(basename $(string-bench-srcs))) 56 $(string-bench-objs) 83 build/bin/bench/%: $(B)/bench/%.o build/lib/libstringlib.a 101 bench-string: $(string-benches) 102 $(EMULATOR) build/bin/bench/strlen 103 $(EMULATOR) build/bin/bench/memcpy [all …]
|
/third_party/flatbuffers/tests/rust_usage_test/benches/ |
D | flatbuffers_benchmarks.rs | 32 fn traverse_canonical_buffer(bench: &mut Bencher) { in traverse_canonical_buffer() 40 bench.iter(|| { in traverse_canonical_buffer() 43 bench.bytes = n; in traverse_canonical_buffer() 46 fn create_canonical_buffer_then_reset(bench: &mut Bencher) { in create_canonical_buffer_then_reset() 53 bench.iter(|| { in create_canonical_buffer_then_reset() 58 bench.bytes = n; in create_canonical_buffer_then_reset() 180 fn create_string_10(bench: &mut Bencher) { in create_string_10() 183 bench.iter(|| { in create_string_10() 192 bench.bytes = 10; in create_string_10() 195 fn create_string_100(bench: &mut Bencher) { in create_string_100() [all …]
|
/third_party/node/benchmark/assert/ |
D | throws.js | 6 const bench = common.createBenchmark(main, { constant 19 bench.start(); 23 bench.end(n); 26 bench.start(); 30 bench.end(n); 33 bench.start(); 37 bench.end(n);
|
/third_party/node/benchmark/zlib/ |
D | deflate.js | 5 const bench = common.createBenchmark(main, { constant 23 bench.end(n); 26 bench.start(); 38 bench.start(); 41 return bench.end(n); 49 bench.start(); 52 bench.end(n);
|