org.drools.planner.benchmark.core.statistic
Class BenchmarkReport

java.lang.Object
  extended by org.drools.planner.benchmark.core.statistic.BenchmarkReport

public class BenchmarkReport
extends Object


Field Summary
protected  File averageCalculateCountSummaryChartFile
           
protected  List<File> bestScoreSummaryChartFileList
           
static int CHARTED_SCORE_LEVEL_SIZE
           
protected  Integer defaultShownScoreLevelIndex
           
protected  File htmlOverviewFile
           
protected  Locale locale
           
protected  DefaultPlannerBenchmark plannerBenchmark
           
protected  File scalabilitySummaryChartFile
           
protected  File timeSpendSummaryChartFile
           
protected  List<String> warningList
           
protected  List<File> winningScoreDifferenceSummaryChartFileList
           
protected  List<File> worstScoreDifferencePercentageSummaryChartFileList
           
 
Constructor Summary
BenchmarkReport(DefaultPlannerBenchmark plannerBenchmark)
           
 
Method Summary
protected  void fillWarningList()
           
 int getAvailableProcessors()
           
 File getAverageCalculateCountSummaryChartFile()
           
 List<File> getBestScoreSummaryChartFileList()
           
 Integer getDefaultShownScoreLevelIndex()
           
 File getHtmlOverviewFile()
           
 String getJavaVersion()
           
 String getJavaVM()
           
 Locale getLocale()
           
 long getMaxMemory()
           
 String getOperatingSystem()
           
 DefaultPlannerBenchmark getPlannerBenchmark()
           
 String getPlannerVersion()
           
 File getScalabilitySummaryChartFile()
           
 File getTimeSpendSummaryChartFile()
           
 List<String> getWarningList()
           
 List<File> getWinningScoreDifferenceSummaryChartFileList()
           
 List<File> getWorstScoreDifferencePercentageSummaryChartFileList()
           
 void setLocale(Locale locale)
           
 void writeReport()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHARTED_SCORE_LEVEL_SIZE

public static final int CHARTED_SCORE_LEVEL_SIZE
See Also:
Constant Field Values

plannerBenchmark

protected final DefaultPlannerBenchmark plannerBenchmark

locale

protected Locale locale

htmlOverviewFile

protected File htmlOverviewFile

bestScoreSummaryChartFileList

protected List<File> bestScoreSummaryChartFileList

winningScoreDifferenceSummaryChartFileList

protected List<File> winningScoreDifferenceSummaryChartFileList

worstScoreDifferencePercentageSummaryChartFileList

protected List<File> worstScoreDifferencePercentageSummaryChartFileList

timeSpendSummaryChartFile

protected File timeSpendSummaryChartFile

scalabilitySummaryChartFile

protected File scalabilitySummaryChartFile

averageCalculateCountSummaryChartFile

protected File averageCalculateCountSummaryChartFile

defaultShownScoreLevelIndex

protected Integer defaultShownScoreLevelIndex

warningList

protected List<String> warningList
Constructor Detail

BenchmarkReport

public BenchmarkReport(DefaultPlannerBenchmark plannerBenchmark)
Method Detail

getPlannerBenchmark

public DefaultPlannerBenchmark getPlannerBenchmark()

getHtmlOverviewFile

public File getHtmlOverviewFile()

getLocale

public Locale getLocale()

setLocale

public void setLocale(Locale locale)

getBestScoreSummaryChartFileList

public List<File> getBestScoreSummaryChartFileList()

getWinningScoreDifferenceSummaryChartFileList

public List<File> getWinningScoreDifferenceSummaryChartFileList()

getWorstScoreDifferencePercentageSummaryChartFileList

public List<File> getWorstScoreDifferencePercentageSummaryChartFileList()

getTimeSpendSummaryChartFile

public File getTimeSpendSummaryChartFile()

getScalabilitySummaryChartFile

public File getScalabilitySummaryChartFile()

getAverageCalculateCountSummaryChartFile

public File getAverageCalculateCountSummaryChartFile()

getDefaultShownScoreLevelIndex

public Integer getDefaultShownScoreLevelIndex()

getWarningList

public List<String> getWarningList()

getAvailableProcessors

public int getAvailableProcessors()

getMaxMemory

public long getMaxMemory()

getJavaVersion

public String getJavaVersion()

getJavaVM

public String getJavaVM()

getOperatingSystem

public String getOperatingSystem()

getPlannerVersion

public String getPlannerVersion()
Returns:
sometimes null (only during development)

writeReport

public void writeReport()

fillWarningList

protected void fillWarningList()


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.