• 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_slice_from_static_string("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()
69 BENCHMARK(BM_SliceReIntern);
71 static void BM_SliceInternStaticMetadata(benchmark::State& state) { in BM_SliceInternStaticMetadata()
78 BENCHMARK(BM_SliceInternStaticMetadata);
80 static void BM_SliceInternEqualToStaticMetadata(benchmark::State& state) { in BM_SliceInternEqualToStaticMetadata()
88 BENCHMARK(BM_SliceInternEqualToStaticMetadata);
90 static void BM_MetadataFromNonInternedSlices(benchmark::State& state) { in BM_MetadataFromNonInternedSlices()
101 BENCHMARK(BM_MetadataFromNonInternedSlices);
103 static void BM_MetadataFromInternedSlices(benchmark::State& state) { in BM_MetadataFromInternedSlices()
116 BENCHMARK(BM_MetadataFromInternedSlices);
119 benchmark::State& state) { in BM_MetadataFromInternedSlicesAlreadyInIndex()
134 BENCHMARK(BM_MetadataFromInternedSlicesAlreadyInIndex);
136 static void BM_MetadataFromInternedKey(benchmark::State& state) { in BM_MetadataFromInternedKey()
148 BENCHMARK(BM_MetadataFromInternedKey);
151 benchmark::State& state) { in BM_MetadataFromNonInternedSlicesWithBackingStore()
164 BENCHMARK(BM_MetadataFromNonInternedSlicesWithBackingStore);
167 benchmark::State& state) { in BM_MetadataFromInternedSlicesWithBackingStore()
182 BENCHMARK(BM_MetadataFromInternedSlicesWithBackingStore);
185 benchmark::State& state) { in BM_MetadataFromInternedKeyWithBackingStore()
199 BENCHMARK(BM_MetadataFromInternedKeyWithBackingStore);
201 static void BM_MetadataFromStaticMetadataStrings(benchmark::State& state) { in BM_MetadataFromStaticMetadataStrings()
213 BENCHMARK(BM_MetadataFromStaticMetadataStrings);
216 benchmark::State& state) { in BM_MetadataFromStaticMetadataStringsNotIndexed()
228 BENCHMARK(BM_MetadataFromStaticMetadataStringsNotIndexed);
230 static void BM_MetadataRefUnrefExternal(benchmark::State& state) { in BM_MetadataRefUnrefExternal()
244 BENCHMARK(BM_MetadataRefUnrefExternal);
246 static void BM_MetadataRefUnrefInterned(benchmark::State& state) { in BM_MetadataRefUnrefInterned()
263 BENCHMARK(BM_MetadataRefUnrefInterned);
265 static void BM_MetadataRefUnrefAllocated(benchmark::State& state) { in BM_MetadataRefUnrefAllocated()
278 BENCHMARK(BM_MetadataRefUnrefAllocated);
280 static void BM_MetadataRefUnrefStatic(benchmark::State& state) { in BM_MetadataRefUnrefStatic()
292 BENCHMARK(BM_MetadataRefUnrefStatic);
294 // Some distros have RunSpecifiedBenchmarks under the benchmark namespace,
296 namespace benchmark { namespace
298 } // namespace benchmark
301 ::benchmark::Initialize(&argc, argv); in main()
303 benchmark::RunTheBenchmarksNamespaced(); in main()