Home
last modified time | relevance | path

Searched refs:BENCHMARK (Results 1 – 25 of 253) sorted by relevance

1234567891011

/external/google-benchmark/test/
Dinternal_threading_test.cc45 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1);
46 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->UseRealTime();
47 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->UseManualTime();
48 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->MeasureProcessCPUTime();
49 BENCHMARK(BM_MainThread)
54 BENCHMARK(BM_MainThread)
60 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2);
61 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->UseRealTime();
62 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->UseManualTime();
63 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->MeasureProcessCPUTime();
[all …]
Doptions_test.cc23 BENCHMARK(BM_basic);
24 BENCHMARK(BM_basic)->Arg(42);
25 BENCHMARK(BM_basic_slow)->Arg(10)->Unit(benchmark::kNanosecond);
26 BENCHMARK(BM_basic_slow)->Arg(100)->Unit(benchmark::kMicrosecond);
27 BENCHMARK(BM_basic_slow)->Arg(1000)->Unit(benchmark::kMillisecond);
28 BENCHMARK(BM_basic)->Range(1, 8);
29 BENCHMARK(BM_basic)->RangeMultiplier(2)->Range(1, 8);
30 BENCHMARK(BM_basic)->DenseRange(10, 15);
31 BENCHMARK(BM_basic)->Args({42, 42});
32 BENCHMARK(BM_basic)->Ranges({{64, 512}, {64, 512}});
[all …]
Dbasic_test.cc4 #define BASIC_BENCHMARK_TEST(x) BENCHMARK(x)->Arg(8)->Arg(512)->Arg(8192)
11 BENCHMARK(BM_empty);
12 BENCHMARK(BM_empty)->ThreadPerCpu();
58 BENCHMARK(BM_pause_during);
59 BENCHMARK(BM_pause_during)->ThreadPerCpu();
60 BENCHMARK(BM_pause_during)->UseRealTime();
61 BENCHMARK(BM_pause_during)->UseRealTime()->ThreadPerCpu();
96 BENCHMARK(BM_empty_stop_start);
97 BENCHMARK(BM_empty_stop_start)->ThreadPerCpu();
108 BENCHMARK(BM_KeepRunning);
[all …]
Dreporter_output_test.cc71 BENCHMARK(BM_basic);
98 BENCHMARK(BM_bytes_per_second);
127 BENCHMARK(BM_items_per_second);
154 BENCHMARK(BM_label);
181 BENCHMARK(BM_error);
203 BENCHMARK(BM_no_arg_name)->Arg(3);
221 BENCHMARK(BM_arg_name)->ArgName("first")->Arg(3);
239 BENCHMARK(BM_arg_names)->Args({2, 5, 4})->ArgNames({"first", "", "third"});
259 BENCHMARK(BM_BigArgs)->RangeMultiplier(2)->Range(1U << 30U, 1U << 31U);
274 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(benchmark::o1);
[all …]
Dbenchmark_test.cc62 BENCHMARK(BM_Factorial);
63 BENCHMARK(BM_Factorial)->UseRealTime();
80 BENCHMARK(BM_CalculatePi)->Threads(8);
81 BENCHMARK(BM_CalculatePi)->ThreadRange(1, 32);
82 BENCHMARK(BM_CalculatePi)->ThreadPerCpu();
98 BENCHMARK(BM_SetInsert)->Ranges({{1 << 10, 8 << 10}, {128, 512}});
126 BENCHMARK(BM_StringCompare)->Range(1, 1 << 20);
146 BENCHMARK(BM_SetupTeardown)->ThreadPerCpu();
155 BENCHMARK(BM_LongTest)->Range(1 << 16, 1 << 28);
179 BENCHMARK(BM_ParallelMemset)->Arg(10 << 20)->ThreadRange(1, 4);
[all …]
Dcomplexity_test.cc67 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(benchmark::o1);
68 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity();
69 BENCHMARK(BM_Complexity_O1)
117 BENCHMARK(BM_Complexity_O_N)
121 BENCHMARK(BM_Complexity_O_N)
127 BENCHMARK(BM_Complexity_O_N)
158 BENCHMARK(BM_Complexity_O_N_log_N)
162 BENCHMARK(BM_Complexity_O_N_log_N)
168 BENCHMARK(BM_Complexity_O_N_log_N)
/external/libcxx/utils/google-benchmark/test/
Doptions_test.cc23 BENCHMARK(BM_basic);
24 BENCHMARK(BM_basic)->Arg(42);
25 BENCHMARK(BM_basic_slow)->Arg(10)->Unit(benchmark::kNanosecond);
26 BENCHMARK(BM_basic_slow)->Arg(100)->Unit(benchmark::kMicrosecond);
27 BENCHMARK(BM_basic_slow)->Arg(1000)->Unit(benchmark::kMillisecond);
28 BENCHMARK(BM_basic)->Range(1, 8);
29 BENCHMARK(BM_basic)->RangeMultiplier(2)->Range(1, 8);
30 BENCHMARK(BM_basic)->DenseRange(10, 15);
31 BENCHMARK(BM_basic)->Args({42, 42});
32 BENCHMARK(BM_basic)->Ranges({{64, 512}, {64, 512}});
[all …]
Dbasic_test.cc4 #define BASIC_BENCHMARK_TEST(x) BENCHMARK(x)->Arg(8)->Arg(512)->Arg(8192)
11 BENCHMARK(BM_empty);
12 BENCHMARK(BM_empty)->ThreadPerCpu();
58 BENCHMARK(BM_pause_during);
59 BENCHMARK(BM_pause_during)->ThreadPerCpu();
60 BENCHMARK(BM_pause_during)->UseRealTime();
61 BENCHMARK(BM_pause_during)->UseRealTime()->ThreadPerCpu();
96 BENCHMARK(BM_empty_stop_start);
97 BENCHMARK(BM_empty_stop_start)->ThreadPerCpu();
108 BENCHMARK(BM_KeepRunning);
[all …]
Dreporter_output_test.cc71 BENCHMARK(BM_basic);
93 BENCHMARK(BM_bytes_per_second);
117 BENCHMARK(BM_items_per_second);
141 BENCHMARK(BM_label);
165 BENCHMARK(BM_error);
184 BENCHMARK(BM_no_arg_name)->Arg(3);
199 BENCHMARK(BM_arg_name)->ArgName("first")->Arg(3);
214 BENCHMARK(BM_arg_names)->Args({2, 5, 4})->ArgNames({"first", "", "third"});
231 BENCHMARK(BM_BigArgs)->RangeMultiplier(2)->Range(1U << 30U, 1U << 31U);
244 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(benchmark::o1);
[all …]
Dbenchmark_test.cc62 BENCHMARK(BM_Factorial);
63 BENCHMARK(BM_Factorial)->UseRealTime();
80 BENCHMARK(BM_CalculatePi)->Threads(8);
81 BENCHMARK(BM_CalculatePi)->ThreadRange(1, 32);
82 BENCHMARK(BM_CalculatePi)->ThreadPerCpu();
98 BENCHMARK(BM_SetInsert)->Ranges({{1 << 10, 8 << 10}, {128, 512}});
126 BENCHMARK(BM_StringCompare)->Range(1, 1 << 20);
146 BENCHMARK(BM_SetupTeardown)->ThreadPerCpu();
155 BENCHMARK(BM_LongTest)->Range(1 << 16, 1 << 28);
179 BENCHMARK(BM_ParallelMemset)->Arg(10 << 20)->ThreadRange(1, 4);
[all …]
Dcomplexity_test.cc63 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(benchmark::o1);
64 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity();
65 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity([](int64_t) { in __anon4e0383e90202()
113 BENCHMARK(BM_Complexity_O_N)
117 BENCHMARK(BM_Complexity_O_N)
121 BENCHMARK(BM_Complexity_O_N)
152 BENCHMARK(BM_Complexity_O_N_log_N)
156 BENCHMARK(BM_Complexity_O_N_log_N)
160 BENCHMARK(BM_Complexity_O_N_log_N)
/external/XNNPACK/eval/
Df32-sigmoid.cc157 BENCHMARK(f32_sigmoid__neon_frac_p9_p10_nr1recps)->Unit(benchmark::kMillisecond)->Iterations(1);
159BENCHMARK(f32_sigmoid__neon_rr2_lut2048_p1_nr2recps)->Unit(benchmark::kMillisecond)->Iterations(1);
160BENCHMARK(f32_sigmoid__neonfma_rr2_lut2048_p1_nr2recps)->Unit(benchmark::kMillisecond)->Iterations…
161BENCHMARK(f32_sigmoid__neonfma_rr2_lut2048_p1_nr1recps1fma)->Unit(benchmark::kMillisecond)->Iterat…
162BENCHMARK(f32_sigmoid__neonfma_rr2_lut2048_p1_nr2fma)->Unit(benchmark::kMillisecond)->Iterations(1…
164 BENCHMARK(f32_sigmoid__neon_rr2_lut64_p2_nr2recps)->Unit(benchmark::kMillisecond)->Iterations(1);
165BENCHMARK(f32_sigmoid__neonfma_rr2_lut64_p2_nr2recps)->Unit(benchmark::kMillisecond)->Iterations(1…
166BENCHMARK(f32_sigmoid__neonfma_rr2_lut64_p2_nr1recps1fma)->Unit(benchmark::kMillisecond)->Iteratio…
167 BENCHMARK(f32_sigmoid__neonfma_rr2_lut64_p2_nr2fma)->Unit(benchmark::kMillisecond)->Iterations(1);
169 BENCHMARK(f32_sigmoid__neon_rr2_p5_nr2recps)->Unit(benchmark::kMillisecond)->Iterations(1);
[all …]
Df32-exp.cc99 BENCHMARK(f32_exp__sse2_p5)->Unit(benchmark::kMillisecond)->Iterations(1);
100 BENCHMARK(f32_exp__avx2_perm_p4)->Unit(benchmark::kMillisecond)->Iterations(1);
101 BENCHMARK(f32_exp__avx2_perm_p3)->Unit(benchmark::kMillisecond)->Iterations(1);
102 BENCHMARK(f32_exp__avx2_p5)->Unit(benchmark::kMillisecond)->Iterations(1);
103 BENCHMARK(f32_exp__avx512f_perm2_p2)->Unit(benchmark::kMillisecond)->Iterations(1);
104 BENCHMARK(f32_exp__avx512f_perm_p3)->Unit(benchmark::kMillisecond)->Iterations(1);
105 BENCHMARK(f32_exp__avx512f_p5_scalef)->Unit(benchmark::kMillisecond)->Iterations(1);
106 BENCHMARK(f32_exp__avx512f_p5)->Unit(benchmark::kMillisecond)->Iterations(1);
117 BENCHMARK(f32_exp__neonfma_lut64_p2)->Unit(benchmark::kMillisecond)->Iterations(1);
118 BENCHMARK(f32_exp__neonfma_p5)->Unit(benchmark::kMillisecond)->Iterations(1);
Df32-expminus.cc62 BENCHMARK(f32_expminus__sse2_p5)->Unit(benchmark::kMillisecond)->Iterations(1);
63 BENCHMARK(f32_expminus__avx2_p5)->Unit(benchmark::kMillisecond)->Iterations(1);
77 BENCHMARK(f32_expminus__neonfma_p5)->Unit(benchmark::kMillisecond)->Iterations(1);
78 BENCHMARK(f32_expminus__neonfma_lut64_p2)->Unit(benchmark::kMillisecond)->Iterations(1);
79 BENCHMARK(f32_expminus__neonfma_lut2048_p1)->Unit(benchmark::kMillisecond)->Iterations(1);
92 BENCHMARK(f32_expminus__scalar_p5)->Unit(benchmark::kMillisecond)->Iterations(1);
93 BENCHMARK(f32_expminus__scalar_lut64_p2)->Unit(benchmark::kMillisecond)->Iterations(1);
94 BENCHMARK(f32_expminus__scalar_lut2048_p1)->Unit(benchmark::kMillisecond)->Iterations(1);
/external/tensorflow/tensorflow/core/graph/
Dgraph_test.cc684 BENCHMARK(BM_InEdgeIteration)->ArgPair(10, 2);
685 BENCHMARK(BM_InEdgeIteration)->ArgPair(1 << 6, 2);
686 BENCHMARK(BM_InEdgeIteration)->ArgPair(1 << 9, 2);
687 BENCHMARK(BM_InEdgeIteration)->ArgPair(1 << 12, 2);
688 BENCHMARK(BM_InEdgeIteration)->ArgPair(1 << 15, 2);
689 BENCHMARK(BM_InEdgeIteration)->ArgPair(10, 4);
690 BENCHMARK(BM_InEdgeIteration)->ArgPair(1 << 6, 4);
691 BENCHMARK(BM_InEdgeIteration)->ArgPair(1 << 9, 4);
692 BENCHMARK(BM_InEdgeIteration)->ArgPair(1 << 12, 4);
693 BENCHMARK(BM_InEdgeIteration)->ArgPair(1 << 15, 4);
[all …]
Dalgorithm_test.cc223 BENCHMARK(BM_PruneForReverseReachability)->ArgPair(10, 2);
224 BENCHMARK(BM_PruneForReverseReachability)->ArgPair(1 << 6, 2);
225 BENCHMARK(BM_PruneForReverseReachability)->ArgPair(1 << 9, 2);
226 BENCHMARK(BM_PruneForReverseReachability)->ArgPair(1 << 12, 2);
227 BENCHMARK(BM_PruneForReverseReachability)->ArgPair(1 << 15, 2);
228 BENCHMARK(BM_PruneForReverseReachability)->ArgPair(10, 4);
229 BENCHMARK(BM_PruneForReverseReachability)->ArgPair(1 << 6, 4);
230 BENCHMARK(BM_PruneForReverseReachability)->ArgPair(1 << 9, 4);
231 BENCHMARK(BM_PruneForReverseReachability)->ArgPair(1 << 12, 4);
232 BENCHMARK(BM_PruneForReverseReachability)->ArgPair(1 << 15, 4);
[all …]
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_event_mgr_test.cc612 BENCHMARK(BM_no_ops)->Arg(4);
613 BENCHMARK(BM_no_ops)->Arg(8);
614 BENCHMARK(BM_no_ops)->Arg(32);
743 BENCHMARK(BM_chain_1024_1_false)->Threads(1); in BM_chain_ops()
744 BENCHMARK(BM_chain_1024_1_true)->Threads(1); in BM_chain_ops()
745 BENCHMARK(BM_chain_1024_1_false)->Threads(2); in BM_chain_ops()
746 BENCHMARK(BM_chain_1024_1_true)->Threads(2); in BM_chain_ops()
747 BENCHMARK(BM_chain_1024_1_false)->Threads(8); in BM_chain_ops()
748 BENCHMARK(BM_chain_1024_1_true)->Threads(8); in BM_chain_ops()
749 BENCHMARK(BM_chain_1024_10_false)->Threads(1); in BM_chain_ops()
[all …]
/external/FP16/bench/
Dieee-element.cc54 BENCHMARK(fp16_ieee_to_fp32_bits);
65 BENCHMARK(fp16_ieee_to_fp32_value);
77 BENCHMARK(fp16_ieee_to_fp32_psimd);
89 BENCHMARK(fp16_ieee_to_fp32x2_psimd);
103 BENCHMARK(TH_halfbits2float);
114 BENCHMARK(npy_halfbits_to_floatbits);
127 BENCHMARK(Eigen_half_to_float);
138 BENCHMARK(Float16Compressor_decompress);
151 BENCHMARK(half_float_detail_half2float_table);
164 BENCHMARK(half_float_detail_half2float_branch);
[all …]
/external/perfetto/src/trace_processor/containers/
Drow_map_benchmark.cc122 BENCHMARK(BM_RowMapRangeGet);
127 BENCHMARK(BM_RowMapBvGet);
132 BENCHMARK(BM_RowMapIvGet);
140 BENCHMARK(BM_RowMapRangeInsertIntoEmpty);
145 BENCHMARK(BM_RowMapBvInsertIntoEmpty);
151 BENCHMARK(BM_RowMapIvInsertIntoEmpty);
158 BENCHMARK(BM_RowMapSelectRangeWithRange);
165 BENCHMARK(BM_RowMapSelectRangeWithBv);
172 BENCHMARK(BM_RowMapSelectRangeWithIv);
179 BENCHMARK(BM_RowMapSelectBvWithRange);
[all …]
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_metadata.cc39 BENCHMARK(BM_SliceFromStatic);
48 BENCHMARK(BM_SliceFromCopied);
58 BENCHMARK(BM_SliceIntern);
69 BENCHMARK(BM_SliceReIntern);
78 BENCHMARK(BM_SliceInternStaticMetadata);
88 BENCHMARK(BM_SliceInternEqualToStaticMetadata);
101 BENCHMARK(BM_MetadataFromNonInternedSlices);
116 BENCHMARK(BM_MetadataFromInternedSlices);
134 BENCHMARK(BM_MetadataFromInternedSlicesAlreadyInIndex);
148 BENCHMARK(BM_MetadataFromInternedKey);
[all …]
Dbm_closure.cc42 BENCHMARK(BM_NoOpExecCtx);
53 BENCHMARK(BM_WellFlushed);
66 BENCHMARK(BM_ClosureInitAgainstExecCtx);
81 BENCHMARK(BM_ClosureInitAgainstCombiner);
95 BENCHMARK(BM_ClosureRunOnExecCtx);
108 BENCHMARK(BM_ClosureCreateAndRun);
122 BENCHMARK(BM_ClosureInitAndRun);
136 BENCHMARK(BM_ClosureSchedOnExecCtx);
153 BENCHMARK(BM_ClosureSched2OnExecCtx);
173 BENCHMARK(BM_ClosureSched3OnExecCtx);
[all …]
/external/tensorflow/tensorflow/core/kernels/
Drequantization_range_op_test.cc90 BENCHMARK(BM_RequantizationRange100);
95 BENCHMARK(BM_RequantizationRange1000);
100 BENCHMARK(BM_RequantizationRange10000);
105 BENCHMARK(BM_RequantizationRange100000);
110 BENCHMARK(BM_RequantizationRange1000000);
115 BENCHMARK(BM_RequantizationRange10000000);
120 BENCHMARK(BM_RequantizationRange100000000);
Dreduction_ops_test.cc130 BENCHMARK(BM_Sum2DToScalarGPU)->RangePair(1, 8192, 1, 8192);
135 BENCHMARK(BM_Sum2DToScalarGPUComplex)->RangePair(1, 8192, 1, 8192);
140 BENCHMARK(BM_Sum2DToScalarGPUHalf)->RangePair(1, 8192, 1, 8192);
145 BENCHMARK(BM_Sum2DRowReduceGPU)->RangePair(1, 8192, 1, 8192);
150 BENCHMARK(BM_Sum2DColumnReduceGPU)->RangePair(1, 8192, 1, 8192);
155 BENCHMARK(BM_Sum3DYReduceGPU)->RangePair(64, 4096, 64, 4096);
160 BENCHMARK(BM_Sum3DXZReduceGPU)->RangePair(64, 4096, 64, 4096);
165 BENCHMARK(BM_Mean2DToScalarGPU)->RangePair(2048, 8192, 2048, 8192);
170 BENCHMARK(BM_EuclideanNorm2DToScalarGPU)->RangePair(2048, 8192, 2048, 8192);
175 BENCHMARK(BM_Max2DToScalarGPU)->RangePair(2048, 8192, 2048, 8192);
[all …]
Dreverse_op_test.cc217 BENCHMARK(BM_ReverseRowsOf1Channel_1T_float)
228 BENCHMARK(BM_ReverseRowsOf1Channel_1T_uint8)
239 BENCHMARK(BM_ReverseRowsOf1Channel_4T_float)
250 BENCHMARK(BM_ReverseRowsOf1Channel_4T_uint8)
261 BENCHMARK(BM_ReverseRowsOf3Channels_1T_float)
273 BENCHMARK(BM_ReverseRowsOf3Channels_1T_uint8)
285 BENCHMARK(BM_ReverseRowsOf3Channels_4T_float)
296 BENCHMARK(BM_ReverseRowsOf3Channels_4T_uint8)
308 BENCHMARK(BM_ReverseRowsOf4Channels_1T_float)
319 BENCHMARK(BM_ReverseRowsOf4Channels_1T_uint8)
[all …]
/external/tensorflow/tensorflow/core/lib/gtl/
Dedit_distance_test.cc140 BENCHMARK(BM_EditDistanceSame)->Arg(5);
141 BENCHMARK(BM_EditDistanceSame)->Arg(50);
142 BENCHMARK(BM_EditDistanceSame)->Arg(200);
143 BENCHMARK(BM_EditDistanceSame)->Arg(1000);
144 BENCHMARK(BM_EditDistanceDiff)->Arg(5);
145 BENCHMARK(BM_EditDistanceDiff)->Arg(50);
146 BENCHMARK(BM_EditDistanceDiff)->Arg(200);
147 BENCHMARK(BM_EditDistanceDiff)->Arg(1000);

1234567891011