Interface BenchmarkConverter
- All Known Implementing Classes:
JmhBenchmarkConverter,WrkBenchmarkConverter
public interface BenchmarkConverter
Interface for converting benchmark-specific formats to the central BenchmarkData model.
Implementations should handle specific benchmark tools (JMH, WRK, etc.)
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanConvert(Path sourcePath) Checks if this converter can handle the given fileConverts benchmark results from a specific format to BenchmarkData
-
Method Details
-
convert
Converts benchmark results from a specific format to BenchmarkData- Parameters:
sourcePath- Path to the source benchmark results- Returns:
- Converted BenchmarkData
- Throws:
IOException- if conversion fails
-
canConvert
Checks if this converter can handle the given file- Parameters:
sourcePath- Path to check- Returns:
- true if this converter can process the file
-