Package jline.bench.cqn
Class CQNResultsFormatter
-
- All Implemented Interfaces:
public class CQNResultsFormatterFormats CQN benchmark results in MATLAB-style output format
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCQNResultsFormatter.CQNBenchmarkResultBenchmark result data structure
public classCQNResultsFormatter.CQNResultsAccumulatorAccumulates benchmark results for batch formatting
-
Constructor Summary
Constructors Constructor Description CQNResultsFormatter()
-
Method Summary
Modifier and Type Method Description static voidaddGlobalResult(String benchmarkName, Map<String, Object> results)Add a benchmark result to the global accumulator static voidprintAndClearGlobalResults()Print all accumulated results and clear the accumulator static voidprintImmediateResult(String benchmarkName, Map<String, Object> results)Print results immediately without accumulation static CQNResultsFormatter.CQNResultsAccumulatorcreateAccumulator()Create a standalone formatter for custom use -
-
Method Detail
-
addGlobalResult
static void addGlobalResult(String benchmarkName, Map<String, Object> results)
Add a benchmark result to the global accumulator
-
printAndClearGlobalResults
static void printAndClearGlobalResults()
Print all accumulated results and clear the accumulator
-
printImmediateResult
static void printImmediateResult(String benchmarkName, Map<String, Object> results)
Print results immediately without accumulation
-
createAccumulator
static CQNResultsFormatter.CQNResultsAccumulator createAccumulator()
Create a standalone formatter for custom use
-
-
-
-