Package jline.bench

Class BenchmarkFormatter

java.lang.Object
jline.bench.BenchmarkFormatter

public class BenchmarkFormatter extends Object
Formats benchmark results in MATLAB-style tables
  • 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