public void run()

in uimafit-benchmark/src/main/java/org/apache/uima/fit/benchmark/Benchmark.java [171:204]


  public void run() {
    stats = null;

    if (verbose) {
      System.out.printf("%n%s%n", StringUtils.repeat("=", name.length()));
      System.out.printf("%s%n", name);
      System.out.printf("%s%n", StringUtils.repeat("=", name.length()));
    } else {
      System.out.printf("%s: ", name);
    }

    System.out.print("Running benchmark... ");

    int magnitude = baseMagnitude;
    int n = 0;
    do {
      if (magnitude > 0) {
        System.out.printf("%d ", magnitude);
      }
      Batch results = runBatch(magnitude);
      if (!ignore) {
        batches.add(results);
      }
      magnitude = magnitudeIncrement.apply(magnitude);
      n++;
    } while (n < incrementTimes);
    System.out.printf("%n");

    if (verbose) {
      for (Batch b : batches) {
        System.out.printf("%s%n", batchToString(b));
      }
    }
  }