Class DefaultPlannerBenchmark

java.lang.Object
org.optaplanner.benchmark.impl.DefaultPlannerBenchmark
All Implemented Interfaces:
PlannerBenchmark

public class DefaultPlannerBenchmark extends Object implements PlannerBenchmark
  • Constructor Details

  • Method Details

    • getPlannerBenchmarkResult

      public PlannerBenchmarkResult getPlannerBenchmarkResult()
    • getBenchmarkDirectory

      public File getBenchmarkDirectory()
    • getBenchmarkReport

      public BenchmarkReport getBenchmarkReport()
    • benchmark

      public File benchmark()
      Description copied from interface: PlannerBenchmark
      Run all the single benchmarks and create an overview report.
      Specified by:
      benchmark in interface PlannerBenchmark
      Returns:
      never null, the directory in which the benchmark results are stored
    • benchmarkingStarted

      public void benchmarkingStarted()
    • runSingleBenchmarks

      protected void runSingleBenchmarks()
    • benchmarkingEnded

      public void benchmarkingEnded()
    • calculateTimeMillisSpent

      public long calculateTimeMillisSpent()
    • benchmarkAndShowReportInBrowser

      public File benchmarkAndShowReportInBrowser()
      Description copied from interface: PlannerBenchmark
      Run all the single benchmarks, create an overview report and show it in the default browser.
      Specified by:
      benchmarkAndShowReportInBrowser in interface PlannerBenchmark
      Returns:
      never null, the directory in which the benchmark results are stored