Class BenchmarkConsoleReport
java.lang.Object
com.codingchili.core.benchmarking.reporting.BenchmarkConsoleReport
- All Implemented Interfaces:
BenchmarkReport
Crates benchmark reports in the terminal.
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
BenchmarkConsoleReport
-
-
Method Details
-
template
Description copied from interface:BenchmarkReportSets the template to use. May be a path to a file or a template.- Specified by:
templatein interfaceBenchmarkReport- Parameters:
string- path or template to use- Returns:
- fluent
-
display
Description copied from interface:BenchmarkReportdisplays the results of the report by opening the browser, printing to terminal or any other means specified by the implementation.- Specified by:
displayin interfaceBenchmarkReport- Returns:
- fluent
-
saveTo
Description copied from interface:BenchmarkReportsaves the results to file.- Specified by:
saveToin interfaceBenchmarkReport- Parameters:
path- where the report is written- Returns:
- fluent
-
saveToFile
Description copied from interface:BenchmarkReportsaves the report to file using a generated filename.- Specified by:
saveToFilein interfaceBenchmarkReport- Returns:
- path to the report file that was saved
-