|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.carrotsearch.junitbenchmarks.db.HistoryChartGenerator
public final class HistoryChartGenerator
Generate historical view of a given test class (one or more methods).
Constructor Summary | |
---|---|
HistoryChartGenerator(String filePrefix,
String clazzName,
LabelType labelType,
DbConsumer consumer)
|
Method Summary | |
---|---|
void |
generate()
Generate the chart's HTML. |
void |
includeMethod(String methodName)
Include a given method in the chart. |
void |
updateMaxRuns(int newMax)
Update max history steps. |
void |
updateMinMax(AxisRange r)
Update min/max fields. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HistoryChartGenerator(String filePrefix, String clazzName, LabelType labelType, DbConsumer consumer)
consumer
- the database consumer.filePrefix
- Prefix for output files.clazzName
- The target test class (fully qualified name).Method Detail |
---|
public void generate() throws Exception
Exception
public void includeMethod(String methodName)
public void updateMaxRuns(int newMax)
public void updateMinMax(AxisRange r)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |