Class WrkBenchmarkConverter
java.lang.Object
de.cuioss.benchmarking.common.converter.WrkBenchmarkConverter
- All Implemented Interfaces:
BenchmarkConverter
Converts WRK benchmark output to the central BenchmarkData model
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanConvert(Path sourcePath) Checks if this converter can handle the given fileConverts benchmark results from a specific format to BenchmarkData
-
Constructor Details
-
WrkBenchmarkConverter
public WrkBenchmarkConverter()
-
-
Method Details
-
convert
Description copied from interface:BenchmarkConverterConverts benchmark results from a specific format to BenchmarkData- Specified by:
convertin interfaceBenchmarkConverter- Parameters:
sourcePath- Path to the source benchmark results- Returns:
- Converted BenchmarkData
- Throws:
IOException- if conversion fails
-
canConvert
Description copied from interface:BenchmarkConverterChecks if this converter can handle the given file- Specified by:
canConvertin interfaceBenchmarkConverter- Parameters:
sourcePath- Path to check- Returns:
- true if this converter can process the file
-