Package org.optaplanner.benchmark.impl
Class DefaultPlannerBenchmark
java.lang.Object
org.optaplanner.benchmark.impl.DefaultPlannerBenchmark
- All Implemented Interfaces:
PlannerBenchmark
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultPlannerBenchmark(PlannerBenchmarkResult plannerBenchmarkResult, File benchmarkDirectory, ExecutorService warmUpExecutorService, ExecutorService executorService, BenchmarkReport benchmarkReport) -
Method Summary
Modifier and TypeMethodDescriptionRun all the single benchmarks and create an overview report.Run all the single benchmarks, create an overview report and show it in the default browser.voidvoidlongprotected void
-
Constructor Details
-
DefaultPlannerBenchmark
public DefaultPlannerBenchmark(PlannerBenchmarkResult plannerBenchmarkResult, File benchmarkDirectory, ExecutorService warmUpExecutorService, ExecutorService executorService, BenchmarkReport benchmarkReport)
-
-
Method Details
-
getPlannerBenchmarkResult
-
getBenchmarkDirectory
-
getBenchmarkReport
-
benchmark
Description copied from interface:PlannerBenchmarkRun all the single benchmarks and create an overview report.- Specified by:
benchmarkin interfacePlannerBenchmark- 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
Description copied from interface:PlannerBenchmarkRun all the single benchmarks, create an overview report and show it in the default browser.- Specified by:
benchmarkAndShowReportInBrowserin interfacePlannerBenchmark- Returns:
- never null, the directory in which the benchmark results are stored
-