@Benchmark
  @Measurement(time = 5, iterations = 10)
  @Warmup(iterations = 5)
  @BenchmarkMode(Mode.AverageTime)
  @OutputTimeUnit(TimeUnit.MILLISECONDS)
  public int rebalance() throws UnknownHostException {
    RebalanceModelBuilder modelBuilder = new RebalanceModelBuilder(STARTING_MEMBERS, TOTAL_BUCKETS);
    PartitionedRegionLoadModel model =
        modelBuilder.withBucketSizeStandardDeviation(deviation).createModel();
    return doMoves(new MoveBuckets(), model);
  }
This test simulates a worst case scenario for rebalancing a region. Each bucket is of a
different size, randomly determined, but defined by a Gaussian distribution. All buckets
on a member are either larger or smaller than the average bucket size, which leads to a
maximal number of bucket moves being required.
geode-core/src/jmh/java/org/apache/geode/cache/partitioned/rebalance/RebalanceRegionBenchmark.java