Home | History | Annotate | Download | only in tests

Lines Matching refs:benchmark

17 #include "benchmark/benchmark.h"
39 static void BM_AssetManagerLoadAssets(benchmark::State& state) {
47 BENCHMARK(BM_AssetManagerLoadAssets);
49 static void BM_AssetManagerLoadAssetsOld(benchmark::State& state) {
60 BENCHMARK(BM_AssetManagerLoadAssetsOld);
62 static void BM_AssetManagerLoadFrameworkAssets(benchmark::State& state) {
70 BENCHMARK(BM_AssetManagerLoadFrameworkAssets);
72 static void BM_AssetManagerLoadFrameworkAssetsOld(benchmark::State& state) {
83 BENCHMARK(BM_AssetManagerLoadFrameworkAssetsOld);
87 benchmark::State& state) {
116 static void BM_AssetManagerGetResource(benchmark::State& state) {
120 BENCHMARK(BM_AssetManagerGetResource);
122 static void BM_AssetManagerGetResourceOld(benchmark::State& state) {
126 BENCHMARK(BM_AssetManagerGetResourceOld);
128 static void BM_AssetManagerGetLibraryResource(benchmark::State& state) {
134 BENCHMARK(BM_AssetManagerGetLibraryResource);
136 static void BM_AssetManagerGetLibraryResourceOld(benchmark::State& state) {
142 BENCHMARK(BM_AssetManagerGetLibraryResourceOld);
146 static void BM_AssetManagerGetResourceFrameworkLocale(benchmark::State& state) {
152 BENCHMARK(BM_AssetManagerGetResourceFrameworkLocale);
154 static void BM_AssetManagerGetResourceFrameworkLocaleOld(benchmark::State& state) {
160 BENCHMARK(BM_AssetManagerGetResourceFrameworkLocaleOld);
162 static void BM_AssetManagerGetBag(benchmark::State& state) {
178 benchmark::DoNotOptimize(key);
179 benchmark::DoNotOptimize(value);
183 BENCHMARK(BM_AssetManagerGetBag);
185 static void BM_AssetManagerGetBagOld(benchmark::State& state) {
202 benchmark::DoNotOptimize(key);
203 benchmark::DoNotOptimize(value);
208 BENCHMARK(BM_AssetManagerGetBagOld);
210 static void BM_AssetManagerGetResourceLocales(benchmark::State& state) {
223 benchmark::DoNotOptimize(locales);
226 BENCHMARK(BM_AssetManagerGetResourceLocales);
228 static void BM_AssetManagerGetResourceLocalesOld(benchmark::State& state) {
241 benchmark::DoNotOptimize(locales);
244 BENCHMARK(BM_AssetManagerGetResourceLocalesOld);