Package jline.bench
Class BenchmarkFormatter
java.lang.Object
jline.bench.BenchmarkFormatter
Formats benchmark results in MATLAB-style tables
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprintBenchmarkSummary(String suiteName, List<BenchmarkRegression.BenchmarkResult> results) Format benchmark results as a table similar to MATLAB outputstatic voidprintIterationResult(String benchmarkName, int iteration, Map<String, Object> results) Print individual benchmark iteration resultsstatic voidprintRegressionSummary(String suiteName, boolean passed, double maxError, double tolerance) Print regression test summary
-
Constructor Details
-
BenchmarkFormatter
public BenchmarkFormatter()
-
-
Method Details
-
printBenchmarkSummary
public static void printBenchmarkSummary(String suiteName, List<BenchmarkRegression.BenchmarkResult> results) Format benchmark results as a table similar to MATLAB output -
printIterationResult
public static void printIterationResult(String benchmarkName, int iteration, Map<String, Object> results) Print individual benchmark iteration results -
printRegressionSummary
public static void printRegressionSummary(String suiteName, boolean passed, double maxError, double tolerance) Print regression test summary
-