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 Type
    Method
    Description
    boolean
    canConvert(Path sourcePath)
    Checks if this converter can handle the given file
    convert(Path sourcePath)
    Converts benchmark results from a specific format to BenchmarkData
  • Method Details

    • convert

      BenchmarkData convert(Path sourcePath) throws IOException
      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

      boolean canConvert(Path sourcePath)
      Checks if this converter can handle the given file
      Parameters:
      sourcePath - Path to check
      Returns:
      true if this converter can process the file