8#include <unordered_map>
10template <
typename Map>
28 auto map = std::unordered_map<uint64_t, uint64_t>();
34 using Map = std::unordered_map<
37 sizeof(std::pair<const uint64_t, uint64_t>) +
43 auto map =
Map{0, std::hash<uint64_t>{}, std::equal_to<uint64_t>{},
Forwards all allocations/deallocations to the PoolResource.
Main entry point to nanobench's benchmarking facility.
An extremely fast random generator.
void BenchFillClearMap(benchmark::Bench &bench, Map &map)
static void PoolAllocator_StdUnorderedMapWithPoolResource(benchmark::Bench &bench)
static void PoolAllocator_StdUnorderedMap(benchmark::Bench &bench)
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...