[perf/benchmark-map] Adjust range specifiers

This commit is contained in:
Behdad Esfahbod 2022-04-20 15:45:37 -06:00
parent 2b03bcedef
commit 23c7c305bb
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ static void BM_MapInsert(benchmark::State& state) {
hb_map_destroy(original); hb_map_destroy(original);
} }
BENCHMARK(BM_MapInsert) BENCHMARK(BM_MapInsert)
->Range(1 << 10, 1 << 16); ->Range(1 << 4, 1 << 20);
/* Single value lookup on map of various sizes. */ /* Single value lookup on map of various sizes. */
static void BM_MapLookup(benchmark::State& state) { static void BM_MapLookup(benchmark::State& state) {
@ -57,7 +57,7 @@ static void BM_MapLookup(benchmark::State& state) {
hb_map_destroy(original); hb_map_destroy(original);
} }
BENCHMARK(BM_MapLookup) BENCHMARK(BM_MapLookup)
->Range(1 << 10, 1 << 16); // Set size ->Range(1 << 4, 1 << 20); // Map size
BENCHMARK_MAIN(); BENCHMARK_MAIN();