com.carrotsearch.junitbenchmarks.h2
Class MethodChartGenerator
java.lang.Object
com.carrotsearch.junitbenchmarks.h2.MethodChartGenerator
public final class MethodChartGenerator
- extends Object
Generate a snippet of HTML code for a given class and all of its benchmarked methods.
Method Summary |
void |
generate()
Generate the chart's HTML. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodChartGenerator
public MethodChartGenerator(Connection connection,
String filePrefix,
int runId,
String clazzName)
- Parameters:
connection
- H2 database connection.filePrefix
- Prefix for generated files.runId
- The run from which to select data.clazzName
- The target test class (fully qualified name).
generate
public void generate()
throws Exception
- Generate the chart's HTML.
- Throws:
Exception
Copyright © 2011 Carrot Search s.c.. All Rights Reserved.