com.carrotsearch.junitbenchmarks.db
Class MethodChartGenerator

java.lang.Object
  extended by 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.


Constructor Summary
MethodChartGenerator(String filePrefix, String clazzName, DbConsumer consumer)
           
 
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
 

Constructor Detail

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.
Method Detail

generate

public void generate()
              throws Exception
Generate the chart's HTML.

Throws:
Exception


Copyright © 2013 Carrot Search s.c.. All Rights Reserved.