@Test(timeout = 5000)
public void testManyRuns() {

  QueueMetrics qm =
      QueueMetrics.forQueue(metricsSystem, "root", null, false, conf);
  qm.setAvailableResourcesToQueue(RMNodeLabelsManager.NO_LABEL,
      Resource.newInstance(1, 1));
  int numIterations = 1000;
  long start = System.currentTimeMillis();
  for (int i = 0; i < numIterations; i++) {
    ic.editSchedule();
  }
  long end = System.currentTimeMillis();
  System.out.println("Runtime per iteration (avg of " + numIterations
      + " iterations): " + (end - start) + " tot time");
}