• Home
  • Raw
  • Download

Lines Matching full:benchmark

21 #include <benchmark/benchmark.h>
32 static void BM_SliceFromStatic(benchmark::State& state) { in BM_SliceFromStatic()
35 benchmark::DoNotOptimize(grpc_core::ExternallyManagedSlice("abc")); in BM_SliceFromStatic()
39 BENCHMARK(BM_SliceFromStatic);
41 static void BM_SliceFromCopied(benchmark::State& state) { in BM_SliceFromCopied()
48 BENCHMARK(BM_SliceFromCopied);
50 static void BM_SliceIntern(benchmark::State& state) { in BM_SliceIntern()
58 BENCHMARK(BM_SliceIntern);
60 static void BM_SliceReIntern(benchmark::State& state) { in BM_SliceReIntern()
70 BENCHMARK(BM_SliceReIntern);
72 static void BM_SliceInternStaticMetadata(benchmark::State& state) { in BM_SliceInternStaticMetadata()
75 benchmark::DoNotOptimize(grpc_core::ManagedMemorySlice(&GRPC_MDSTR_GZIP)); in BM_SliceInternStaticMetadata()
79 BENCHMARK(BM_SliceInternStaticMetadata);
81 static void BM_SliceInternEqualToStaticMetadata(benchmark::State& state) { in BM_SliceInternEqualToStaticMetadata()
85 benchmark::DoNotOptimize(grpc_core::ManagedMemorySlice(&slice)); in BM_SliceInternEqualToStaticMetadata()
89 BENCHMARK(BM_SliceInternEqualToStaticMetadata);
91 static void BM_MetadataFromNonInternedSlices(benchmark::State& state) { in BM_MetadataFromNonInternedSlices()
102 BENCHMARK(BM_MetadataFromNonInternedSlices);
104 static void BM_MetadataFromInternedSlices(benchmark::State& state) { in BM_MetadataFromInternedSlices()
117 BENCHMARK(BM_MetadataFromInternedSlices);
120 benchmark::State& state) { in BM_MetadataFromInternedSlicesAlreadyInIndex()
135 BENCHMARK(BM_MetadataFromInternedSlicesAlreadyInIndex);
137 static void BM_MetadataFromInternedKey(benchmark::State& state) { in BM_MetadataFromInternedKey()
149 BENCHMARK(BM_MetadataFromInternedKey);
152 benchmark::State& state) { in BM_MetadataFromNonInternedSlicesWithBackingStore()
165 BENCHMARK(BM_MetadataFromNonInternedSlicesWithBackingStore);
168 benchmark::State& state) { in BM_MetadataFromInternedSlicesWithBackingStore()
183 BENCHMARK(BM_MetadataFromInternedSlicesWithBackingStore);
186 benchmark::State& state) { in BM_MetadataFromInternedKeyWithBackingStore()
200 BENCHMARK(BM_MetadataFromInternedKeyWithBackingStore);
202 static void BM_MetadataFromStaticMetadataStrings(benchmark::State& state) { in BM_MetadataFromStaticMetadataStrings()
212 BENCHMARK(BM_MetadataFromStaticMetadataStrings);
215 benchmark::State& state) { in BM_MetadataFromStaticMetadataStringsNotIndexed()
225 BENCHMARK(BM_MetadataFromStaticMetadataStringsNotIndexed);
227 static void BM_MetadataRefUnrefExternal(benchmark::State& state) { in BM_MetadataRefUnrefExternal()
242 BENCHMARK(BM_MetadataRefUnrefExternal);
244 static void BM_MetadataRefUnrefInterned(benchmark::State& state) { in BM_MetadataRefUnrefInterned()
261 BENCHMARK(BM_MetadataRefUnrefInterned);
263 static void BM_MetadataRefUnrefAllocated(benchmark::State& state) { in BM_MetadataRefUnrefAllocated()
276 BENCHMARK(BM_MetadataRefUnrefAllocated);
278 static void BM_MetadataRefUnrefStatic(benchmark::State& state) { in BM_MetadataRefUnrefStatic()
290 BENCHMARK(BM_MetadataRefUnrefStatic);
292 // Some distros have RunSpecifiedBenchmarks under the benchmark namespace,
294 namespace benchmark { namespace
296 } // namespace benchmark
301 ::benchmark::Initialize(&argc, argv); in main()
303 benchmark::RunTheBenchmarksNamespaced(); in main()