public class DefaultPlannerBenchmark extends Object implements PlannerBenchmark
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
protected org.slf4j.Logger |
singleBenchmarkRunnerExceptionLogger |
Constructor and Description |
---|
DefaultPlannerBenchmark(PlannerBenchmarkResult plannerBenchmarkResult,
SolverConfigContext solverConfigContext,
File benchmarkDirectory,
ExecutorService warmUpExecutorService,
ExecutorService executorService,
BenchmarkReport benchmarkReport) |
Modifier and Type | Method and Description |
---|---|
void |
benchmark()
Run all the single benchmarks and create an overview report.
|
void |
benchmarkAndShowReportInBrowser()
Run all the single benchmarks, create an overview report
and show it in the default browser.
|
void |
benchmarkingEnded() |
void |
benchmarkingStarted() |
long |
calculateTimeMillisSpent() |
File |
getBenchmarkDirectory() |
BenchmarkReport |
getBenchmarkReport() |
PlannerBenchmarkResult |
getPlannerBenchmarkResult() |
protected void |
runSingleBenchmarks() |
protected final transient org.slf4j.Logger logger
protected final transient org.slf4j.Logger singleBenchmarkRunnerExceptionLogger
public DefaultPlannerBenchmark(PlannerBenchmarkResult plannerBenchmarkResult, SolverConfigContext solverConfigContext, File benchmarkDirectory, ExecutorService warmUpExecutorService, ExecutorService executorService, BenchmarkReport benchmarkReport)
public PlannerBenchmarkResult getPlannerBenchmarkResult()
public File getBenchmarkDirectory()
public BenchmarkReport getBenchmarkReport()
public void benchmark()
PlannerBenchmark
benchmark
in interface PlannerBenchmark
public void benchmarkingStarted()
protected void runSingleBenchmarks()
public void benchmarkingEnded()
public long calculateTimeMillisSpent()
public void benchmarkAndShowReportInBrowser()
PlannerBenchmark
benchmarkAndShowReportInBrowser
in interface PlannerBenchmark
Copyright © 2006–2018 JBoss by Red Hat. All rights reserved.