@Test
  public final void testSelection() throws Exception {
    long fileDiff = 0;
    for (List<HStoreFile> storeFileList : generator) {
      List<HStoreFile> currentFiles = new ArrayList<>(18);
      for (HStoreFile file : storeFileList) {
        currentFiles.add(file);
        currentFiles = runIteration(currentFiles);
      }
      fileDiff += (storeFileList.size() - currentFiles.size());
    }

    // print out tab delimited so that it can be used in excel/gdocs.
    System.out.println(cp.getClass().getSimpleName() + "\t" + fileGenClass.getSimpleName() + "\t"
      + max + "\t" + min + "\t" + ratio + "\t" + written + "\t" + fileDiff);
  }
Test the perf of a CompactionPolicy with settings.
@param cpClass The compaction policy to test
@param inMmax  The maximum number of file to compact
@param inMin   The min number of files to compact
@param inRatio The ratio that files must be under to be compacted.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/compactions/PerfTestCompactionPolicies.java