Home
last modified time | relevance | path

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

12

/external/libcxx/utils/google-benchmark/test/
Doptions_test.cc19 BENCHMARK(BM_basic);
20 BENCHMARK(BM_basic)->Arg(42);
21 BENCHMARK(BM_basic_slow)->Arg(10)->Unit(benchmark::kNanosecond);
22 BENCHMARK(BM_basic_slow)->Arg(100)->Unit(benchmark::kMicrosecond);
23 BENCHMARK(BM_basic_slow)->Arg(1000)->Unit(benchmark::kMillisecond);
24 BENCHMARK(BM_basic)->Range(1, 8);
25 BENCHMARK(BM_basic)->RangeMultiplier(2)->Range(1, 8);
26 BENCHMARK(BM_basic)->DenseRange(10, 15);
27 BENCHMARK(BM_basic)->Args({42, 42});
28 BENCHMARK(BM_basic)->Ranges({{64, 512}, {64, 512}});
[all …]
Dreporter_output_test.cc26 BENCHMARK(BM_basic);
46 BENCHMARK(BM_bytes_per_second);
68 BENCHMARK(BM_items_per_second);
90 BENCHMARK(BM_label);
112 BENCHMARK(BM_error);
129 BENCHMARK(BM_no_arg_name)->Arg(3);
142 BENCHMARK(BM_arg_name)->ArgName("first")->Arg(3);
155 BENCHMARK(BM_arg_names)->Args({2, 5, 4})->ArgNames({"first", "", "third"});
170 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(benchmark::o1);
185 BENCHMARK(BM_Repeat)->Repetitions(3);
[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();
94 BENCHMARK(BM_SetInsert)->Ranges({{1 << 10, 8 << 10}, {1, 10}});
121 BENCHMARK(BM_StringCompare)->Range(1, 1 << 20);
141 BENCHMARK(BM_SetupTeardown)->ThreadPerCpu();
150 BENCHMARK(BM_LongTest)->Range(1 << 16, 1 << 28);
174 BENCHMARK(BM_ParallelMemset)->Arg(10 << 20)->ThreadRange(1, 4);
[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();
Dcomplexity_test.cc56 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(benchmark::o1);
57 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity();
58 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity([](int) { in __anonbe70be5d0202()
102 BENCHMARK(BM_Complexity_O_N)
106 BENCHMARK(BM_Complexity_O_N)
110 BENCHMARK(BM_Complexity_O_N)
137 BENCHMARK(BM_Complexity_O_N_log_N)
141 BENCHMARK(BM_Complexity_O_N_log_N)
145 BENCHMARK(BM_Complexity_O_N_log_N)
Dfilter_test.cc42 BENCHMARK(NoPrefix);
48 BENCHMARK(BM_Foo);
54 BENCHMARK(BM_Bar);
60 BENCHMARK(BM_FooBar);
66 BENCHMARK(BM_FooBa);
Dskip_with_error_test.cc70 BENCHMARK(BM_error_before_running);
86 BENCHMARK(BM_error_during_running)->Arg(1)->Arg(2)->ThreadRange(1, 8);
103 BENCHMARK(BM_error_after_running)->ThreadRange(1, 8);
123 BENCHMARK(BM_error_while_paused)->Arg(1)->Arg(2)->ThreadRange(1, 8);
Dcxx03_test.cc17 BENCHMARK(BM_empty);
27 BENCHMARK(BM_old_arg_range_interface)->ArgPair(1, 2)->RangePair(5, 5, 6, 6);
Dmultiple_ranges_test.cc66 BENCHMARK(BM_CheckDefaultArgument)->Ranges({{1, 5}, {6, 10}});
72 BENCHMARK(BM_MultipleRanges)->Ranges({{5, 5}, {6, 6}});
/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 …]
Dreporter_output_test.cc26 BENCHMARK(BM_basic);
46 BENCHMARK(BM_bytes_per_second);
68 BENCHMARK(BM_items_per_second);
90 BENCHMARK(BM_label);
112 BENCHMARK(BM_error);
129 BENCHMARK(BM_no_arg_name)->Arg(3);
142 BENCHMARK(BM_arg_name)->ArgName("first")->Arg(3);
155 BENCHMARK(BM_arg_names)->Args({2, 5, 4})->ArgNames({"first", "", "third"});
170 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(benchmark::o1);
185 BENCHMARK(BM_Repeat)->Repetitions(3);
[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();
94 BENCHMARK(BM_SetInsert)->Ranges({{1 << 10, 8 << 10}, {1, 10}});
121 BENCHMARK(BM_StringCompare)->Range(1, 1 << 20);
141 BENCHMARK(BM_SetupTeardown)->ThreadPerCpu();
150 BENCHMARK(BM_LongTest)->Range(1 << 16, 1 << 28);
174 BENCHMARK(BM_ParallelMemset)->Arg(10 << 20)->ThreadRange(1, 4);
[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();
Dcomplexity_test.cc56 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(benchmark::o1);
57 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity();
58 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity([](int) { in __anon3310dde40202()
102 BENCHMARK(BM_Complexity_O_N)
106 BENCHMARK(BM_Complexity_O_N)
110 BENCHMARK(BM_Complexity_O_N)
137 BENCHMARK(BM_Complexity_O_N_log_N)
141 BENCHMARK(BM_Complexity_O_N_log_N)
145 BENCHMARK(BM_Complexity_O_N_log_N)
Dfilter_test.cc42 BENCHMARK(NoPrefix);
48 BENCHMARK(BM_Foo);
54 BENCHMARK(BM_Bar);
60 BENCHMARK(BM_FooBar);
66 BENCHMARK(BM_FooBa);
Duser_counters_test.cc27 BENCHMARK(BM_Counters_Simple);
61 BENCHMARK(BM_Counters_WithBytesAndItemsPSec);
101 BENCHMARK(BM_Counters_Rate);
132 BENCHMARK(BM_Counters_Threads)->ThreadRange(1, 8);
162 BENCHMARK(BM_Counters_AvgThreads)->ThreadRange(1, 8);
193 BENCHMARK(BM_Counters_AvgThreadsRate)->ThreadRange(1, 8);
Dcxx03_test.cc17 BENCHMARK(BM_empty);
27 BENCHMARK(BM_old_arg_range_interface)->ArgPair(1, 2)->RangePair(5, 5, 6, 6);
46 BENCHMARK(BM_counters);
Duser_counters_tabular_test.cc69 BENCHMARK(BM_Counters_Tabular)->ThreadRange(1, 16);
113 BENCHMARK(BM_CounterRates_Tabular)->ThreadRange(1, 16);
157 BENCHMARK(BM_CounterSet0_Tabular)->ThreadRange(1, 16);
189 BENCHMARK(BM_CounterSet1_Tabular)->ThreadRange(1, 16);
225 BENCHMARK(BM_CounterSet2_Tabular)->ThreadRange(1, 16);
Dskip_with_error_test.cc70 BENCHMARK(BM_error_before_running);
86 BENCHMARK(BM_error_during_running)->Arg(1)->Arg(2)->ThreadRange(1, 8);
103 BENCHMARK(BM_error_after_running)->ThreadRange(1, 8);
123 BENCHMARK(BM_error_while_paused)->Arg(1)->Arg(2)->ThreadRange(1, 8);
Dmultiple_ranges_test.cc66 BENCHMARK(BM_CheckDefaultArgument)->Ranges({{1, 5}, {6, 10}});
72 BENCHMARK(BM_MultipleRanges)->Ranges({{5, 5}, {6, 6}});
/external/regex-re2/re2/testing/
Dregexp_benchmark.cc362 BENCHMARK(Search_Digits_DFA)->ThreadRange(1, NumCPUs());
363 BENCHMARK(Search_Digits_NFA)->ThreadRange(1, NumCPUs());
364 BENCHMARK(Search_Digits_OnePass)->ThreadRange(1, NumCPUs());
366 BENCHMARK(Search_Digits_PCRE)->ThreadRange(1, NumCPUs());
368 BENCHMARK(Search_Digits_RE2)->ThreadRange(1, NumCPUs());
369 BENCHMARK(Search_Digits_BitState)->ThreadRange(1, NumCPUs());
387 BENCHMARK(Parse_Digits_NFA)->ThreadRange(1, NumCPUs());
388 BENCHMARK(Parse_Digits_OnePass)->ThreadRange(1, NumCPUs());
390 BENCHMARK(Parse_Digits_PCRE)->ThreadRange(1, NumCPUs());
392 BENCHMARK(Parse_Digits_RE2)->ThreadRange(1, NumCPUs());
[all …]
/external/libcxx/benchmarks/
Dstring.bench.cpp17 BENCHMARK(BM_StringFindNoMatch)->Range(10, MAX_STRING_LEN);
26 BENCHMARK(BM_StringFindAllMatch)->Range(1, MAX_STRING_LEN);
36 BENCHMARK(BM_StringFindMatch1)->Range(1, MAX_STRING_LEN / 4);
47 BENCHMARK(BM_StringFindMatch2)->Range(1, MAX_STRING_LEN / 4);
Dutil_smartptr.bench.cpp20 BENCHMARK(BM_SharedPtrCreateDestroy);
30 BENCHMARK(BM_SharedPtrIncDecRef);
40 BENCHMARK(BM_WeakPtrIncDecRef);
/external/gemmlowp/standalone/
Dneon-gemm-kernel-benchmark.cc3695 #define BENCHMARK(Kernel) \ macro
3708 BENCHMARK(NEON_32bit_GEMM_Int8Operands_AccumTwoWithin16Bits); in main()
3709 BENCHMARK(NEON_32bit_GEMM_Int8Operands_AccumTwoWithin16Bits_intrinsics); in main()
3710 BENCHMARK(NEON_32bit_GEMM_Uint8Operands_Uint32Accumulators); in main()
3711 BENCHMARK(NEON_32bit_GEMM_Uint8Operands_Uint32Accumulators_intrinsics); in main()
3712 BENCHMARK(NEON_32bit_GEMM_Uint8Operands_Uint32Accumulators_noexpand); in main()
3713 BENCHMARK(NEON_32bit_GEMM_Int32_WithScalar); in main()
3714 BENCHMARK(NEON_32bit_GEMM_Float32_MLA_WithVectorDuplicatingScalar); in main()
3716 BENCHMARK(NEON_32bit_GEMM_Float32_FMA_WithVectorDuplicatingScalar); in main()
3718 BENCHMARK(NEON_32bit_GEMM_Float32_MLA_WithScalar); in main()
[all …]
/external/libcxx/utils/google-benchmark/
DREADME.md24 BENCHMARK(BM_StringCreation);
32 BENCHMARK(BM_StringCopy);
55 BENCHMARK(BM_memcpy)->Arg(8)->Arg(64)->Arg(512)->Arg(1<<10)->Arg(8<<10);
63 BENCHMARK(BM_memcpy)->Range(8, 8<<10);
71 BENCHMARK(BM_memcpy)->RangeMultiplier(2)->Range(8, 8<<10);
89 BENCHMARK(BM_SetInsert)
106 BENCHMARK(BM_SetInsert)->Ranges({{1<<10, 8<<10}, {1, 512}});
120 BENCHMARK(BM_SetInsert)->Apply(CustomArguments);
137 BENCHMARK(BM_StringCompare)
145 BENCHMARK(BM_StringCompare)
[all …]

12