use of com.codingchili.core.benchmarking.reporting.BenchmarkConsoleReport in project chili-core by codingchili.
the class BenchmarkConsoleReportTest method setUp.
@Before
public void setUp() {
super.setUp();
report = new BenchmarkConsoleReport(groups);
}
use of com.codingchili.core.benchmarking.reporting.BenchmarkConsoleReport in project chili-core by codingchili.
the class CoreBenchmarkSuite method createReport.
private void createReport(Promise<CommandResult> future, List<BenchmarkGroup> result, CommandExecutor executor) {
Optional<String> template = executor.getProperty(PARAM_TEMPLATE);
BenchmarkReport report;
if (executor.hasProperty(PARAM_HTML)) {
report = new BenchmarkHTMLReport(result);
} else {
report = new BenchmarkConsoleReport(result);
}
template.ifPresent(report::template);
report.display();
future.complete(LauncherCommandResult.SHUTDOWN);
}
Aggregations