View Javadoc
1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   package net.sourceforge.pmd.benchmark;
5   
6   import java.io.PrintStream;
7   import java.util.Map;
8   import java.util.Set;
9   
10  /**
11   * 
12   * @author Brian Remedios
13   */
14  public interface BenchmarkReport {
15  
16  	/**
17  	 * 
18  	 * @param stressResults
19  	 * @param out
20  	 */
21  	void generate(Set<RuleDuration> stressResults, PrintStream out);
22  	
23  	/**
24  	 * 
25  	 * @param benchmarksByName
26  	 * @param out
27  	 */
28  	void generate(Map<String, BenchmarkResult> benchmarksByName, PrintStream out);
29  }