Searched refs:MapBenchmark (Results 1 – 1 of 1) sorted by relevance
/bionic/benchmarks/ |
D | malloc_map_benchmark.cpp | 64 static void MapBenchmark(benchmark::State& state, size_t num_elements) { in MapBenchmark() function 98 MapBenchmark<std::map<uint64_t, char[8]>>(state, 1000000); in BM_std_map_8() 103 MapBenchmark<std::map<uint64_t, char[16]>>(state, 1000000); in BM_std_map_16() 108 MapBenchmark<std::map<uint64_t, char[32]>>(state, 1000000); in BM_std_map_32() 113 MapBenchmark<std::map<uint64_t, char[64]>>(state, 1000000); in BM_std_map_64() 118 MapBenchmark<std::map<uint64_t, char[96]>>(state, 1000000); in BM_std_map_96() 123 MapBenchmark<std::map<uint64_t, char[128]>>(state, 500000); in BM_std_map_128() 128 MapBenchmark<std::map<uint64_t, char[256]>>(state, 500000); in BM_std_map_256() 133 MapBenchmark<std::map<uint64_t, char[512]>>(state, 500000); in BM_std_map_512() 138 MapBenchmark<std::unordered_map<uint64_t, char[8]>>(state, 1000000); in BM_std_unordered_map_8() [all …]
|