Interface BenchmarkReport
- All Known Implementing Classes:
BenchmarkConsoleReport
,BenchmarkHTMLReport
public interface BenchmarkReport
Interface for benchmarking report creation.
-
Method Summary
Modifier and TypeMethodDescriptiondisplay()
displays the results of the report by opening the browser, printing to terminal or any other means specified by the implementation.saves the results to file.saves the report to file using a generated filename.Sets the template to use.
-
Method Details
-
template
Sets the template to use. May be a path to a file or a template.- Parameters:
string
- path or template to use- Returns:
- fluent
-
display
BenchmarkReport display()displays the results of the report by opening the browser, printing to terminal or any other means specified by the implementation.- Returns:
- fluent
-
saveTo
saves the results to file.- Parameters:
path
- where the report is written- Returns:
- fluent
-
saveToFile
String saveToFile()saves the report to file using a generated filename.- Returns:
- path to the report file that was saved
-