com.carrotsearch.junitbenchmarks.db
Class MethodChartGenerator
java.lang.Object
com.carrotsearch.junitbenchmarks.db.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(String filePrefix,
String clazzName,
DbConsumer consumer)
- Parameters:
filePrefix - Prefix for generated files.clazzName - The target test class (fully qualified name).consumer - Database consumer for results.
generate
public void generate()
throws Exception
- Generate the chart's HTML.
- Throws:
Exception
Copyright © 2014 SciJava. All rights reserved.