Class MetricsComputer
java.lang.Object
de.cuioss.benchmarking.common.report.MetricsComputer
Computes benchmark-specific metrics from JSON results.
This class is responsible for extracting and calculating domain-specific benchmark metrics:
- Extracting throughput and latency values from JMH JSON output
- Converting units to standard measurements (ops/s, ms/op)
- Calculating composite performance scores
- Assigning performance grades based on scores
Use this class when you need to process raw JMH benchmark results into meaningful metrics.
For pure statistical computations, use StatisticsCalculator.
For time-series analysis and trend detection, use TrendDataProcessor.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMetricsComputer(String throughputBenchmarkName, String latencyBenchmarkName) -
Method Summary
-
Constructor Details
-
MetricsComputer
-
-
Method Details
-
computeMetrics
-