Home
last modified time | relevance | path

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

12345678

/external/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 __anon22c2aa6e0202()
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)
Dskip_with_error_test.cc70 BENCHMARK(BM_error_before_running);
79 BENCHMARK(BM_error_before_running_batch);
88 BENCHMARK(BM_error_before_running_range_for);
104 BENCHMARK(BM_error_during_running)->Arg(1)->Arg(2)->ThreadRange(1, 8);
130 BENCHMARK(BM_error_during_running_ranged_for)->Arg(1)->Arg(2)->Iterations(5);
142 BENCHMARK(BM_error_after_running)->ThreadRange(1, 8);
162 BENCHMARK(BM_error_while_paused)->Arg(1)->Arg(2)->ThreadRange(1, 8);
/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 __anon044d1b270202()
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)
Dskip_with_error_test.cc70 BENCHMARK(BM_error_before_running);
79 BENCHMARK(BM_error_before_running_batch);
88 BENCHMARK(BM_error_before_running_range_for);
104 BENCHMARK(BM_error_during_running)->Arg(1)->Arg(2)->ThreadRange(1, 8);
130 BENCHMARK(BM_error_during_running_ranged_for)->Arg(1)->Arg(2)->Iterations(5);
142 BENCHMARK(BM_error_after_running)->ThreadRange(1, 8);
162 BENCHMARK(BM_error_while_paused)->Arg(1)->Arg(2)->ThreadRange(1, 8);
/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 …]
/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 …]
Dbm_error.cc45 BENCHMARK(BM_ErrorCreateFromStatic);
54 BENCHMARK(BM_ErrorCreateFromCopied);
65 BENCHMARK(BM_ErrorCreateAndSetStatus);
78 BENCHMARK(BM_ErrorCreateAndSetIntAndStr);
90 BENCHMARK(BM_ErrorCreateAndSetIntLoop);
103 BENCHMARK(BM_ErrorCreateAndSetStrLoop);
114 BENCHMARK(BM_ErrorRefUnref);
122 BENCHMARK(BM_ErrorUnrefNone);
132 BENCHMARK(BM_ErrorGetIntFromNoError);
144 BENCHMARK(BM_ErrorGetMissingInt);
[all …]
Dbm_cq.cc44 BENCHMARK(BM_CreateDestroyCpp);
56 BENCHMARK(BM_CreateDestroyCpp2);
68 BENCHMARK(BM_CreateDestroyCore);
96 BENCHMARK(BM_Pass1Cpp);
115 BENCHMARK(BM_Pass1Core);
134 BENCHMARK(BM_Pluck1Core);
147 BENCHMARK(BM_EmptyCore);
/external/tensorflow/tensorflow/core/kernels/
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 …]
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);
Dreverse_op_test.cc215 BENCHMARK(BM_ReverseRowsOf1Channel_1T_float)
226 BENCHMARK(BM_ReverseRowsOf1Channel_1T_uint8)
237 BENCHMARK(BM_ReverseRowsOf1Channel_4T_float)
248 BENCHMARK(BM_ReverseRowsOf1Channel_4T_uint8)
259 BENCHMARK(BM_ReverseRowsOf3Channels_1T_float)
271 BENCHMARK(BM_ReverseRowsOf3Channels_1T_uint8)
283 BENCHMARK(BM_ReverseRowsOf3Channels_4T_float)
294 BENCHMARK(BM_ReverseRowsOf3Channels_4T_uint8)
306 BENCHMARK(BM_ReverseRowsOf4Channels_1T_float)
317 BENCHMARK(BM_ReverseRowsOf4Channels_1T_uint8)
[all …]
Dscan_ops_test.cc104 BENCHMARK(BM_OneDCumsumGPU)->Range(1, 1 << 21);
109 BENCHMARK(BM_OneDCumsumGPUHalf)->Range(1, 1 << 21);
114 BENCHMARK(BM_Sum2DRowCumsumGPU)->RangePair(1, 8192, 1, 8192);
119 BENCHMARK(BM_Sum2DColumnCumsumGPU)->RangePair(1, 8192, 1, 8192);
124 BENCHMARK(BM_Sum3DYCumsumGPU)->RangePair(64, 4096, 64, 4096);
129 BENCHMARK(BM_OneDCumsumGPU_reverse)->Range(1, 1 << 21);
134 BENCHMARK(BM_Sum2DRowCumsumGPU_reverse)->RangePair(1, 8192, 1, 8192);
139 BENCHMARK(BM_Sum2DColumnCumsumGPU_reverse)->RangePair(1, 8192, 1, 8192);
144 BENCHMARK(BM_Sum3DYCumsumGPU_reverse)->RangePair(32, 2048, 32, 2048);
Dscatter_op_test.cc321 BENCHMARK(BM_ScatterUpdateInt32)
336 BENCHMARK(BM_ScatterUpdateInt64)
344 BENCHMARK(BM_ScatterAddInt32)->Arg(1)->Arg(10)->Arg(64)->Arg(256)->Arg(1024);
345 BENCHMARK(BM_ScatterAddInt64)->Arg(1)->Arg(10)->Arg(64)->Arg(256)->Arg(1024);
347 BENCHMARK(BM_ScatterMulInt32)->Arg(1)->Arg(10)->Arg(64)->Arg(256)->Arg(1024);
348 BENCHMARK(BM_ScatterMulInt64)->Arg(1)->Arg(10)->Arg(64)->Arg(256)->Arg(1024);
350 BENCHMARK(BM_ScatterDivInt32)->Arg(1)->Arg(10)->Arg(64)->Arg(256)->Arg(1024);
351 BENCHMARK(BM_ScatterDivInt64)->Arg(1)->Arg(10)->Arg(64)->Arg(256)->Arg(1024);
353 BENCHMARK(BM_ScatterMinInt32)->Arg(1)->Arg(10)->Arg(64)->Arg(256)->Arg(1024);
354 BENCHMARK(BM_ScatterMinInt64)->Arg(1)->Arg(10)->Arg(64)->Arg(256)->Arg(1024);
[all …]
Dcast_op_test.cc128 BENCHMARK(BM_cpu_float_int64)->Arg(64 << 10)->Arg(32 << 20);
142 BENCHMARK(BM_gpu_float_int64)->Arg(64 << 10)->Arg(32 << 20);
151 BENCHMARK(BM_cpu_bool_float)->Arg(64 << 10)->Arg(32 << 20);
165 BENCHMARK(BM_gpu_bool_float)->Arg(64 << 10)->Arg(32 << 20);
174 BENCHMARK(BM_cpu_float_bfloat16)->Arg(64 << 10)->Arg(32 << 20);
183 BENCHMARK(BM_cpu_bfloat16_float)->Arg(64 << 10)->Arg(32 << 20);
192 BENCHMARK(BM_cpu_float_half)->Arg(64 << 10)->Arg(32 << 20);
201 BENCHMARK(BM_cpu_half_float)->Arg(64 << 10)->Arg(32 << 20);
212 BENCHMARK(BM_gpu_float_half)->Arg(64 << 10)->Arg(32 << 20);
223 BENCHMARK(BM_gpu_half_float)->Arg(64 << 10)->Arg(32 << 20);
Dconcat_op_test.cc78 BENCHMARK(BM_ConcatDim0Float)->Arg(1000)->Arg(100000)->Arg(1000000);
79 BENCHMARK(BM_ConcatDim1Float)->Arg(1000)->Arg(100000)->Arg(1000000);
91 BENCHMARK(BM_ConcatDim1uint8)->Arg(1000)->Arg(100000)->Arg(1000000);
92 BENCHMARK(BM_ConcatDim1int16)->Arg(1000)->Arg(100000)->Arg(1000000);
93 BENCHMARK(BM_ConcatDim1bfloat16)->Arg(1000)->Arg(100000)->Arg(1000000);
131 BENCHMARK(BM_ConcatManyDim1bfloat16)->Arg(18)->Arg(34)->Arg(60);
160 BENCHMARK(BM_MemcpyAlternativeDim0)->Arg(1000)->Arg(100000)->Arg(1000000);
161 BENCHMARK(BM_MemcpyAlternativeDim1)->Arg(1000)->Arg(100000)->Arg(1000000);
236 BENCHMARK(MemcpyManyAlternative1)
247 BENCHMARK(MemcpyManyAlternative2)
/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);

12345678