private Region<String, String> createRegion(Cache cache, int maxSize) {
    Region<String, String> region = cache.<String, String>createRegionFactory(RegionShortcut.LOCAL)
        .setEvictionAttributes(
            EvictionAttributes.createLRUEntryAttributes(maxSize, EvictionAction.LOCAL_DESTROY))
        .create("testRegion");
    for (int i = 0; i < MAX_ENTRIES; i++) {
      region.put(Integer.toString(i), "value");
    }
    region.put("over", "limit");
    return region;
  }
This benchmark tests the raw throughput of get operations on a region with eviction enabled. For
each operation, a random key (that exists) is used. Comparison to a benchmark for a region
without eviction would isolate the overhead of this operation when eviction is enabled
geode-core/src/jmh/java/org/apache/geode/cache/GetsWithEvictionPerformanceBenchmark.java