Enum Class BenchmarkType

java.lang.Object
java.lang.Enum<BenchmarkType>
de.cuioss.benchmarking.common.config.BenchmarkType
All Implemented Interfaces:
Serializable, Comparable<BenchmarkType>, Constable

public enum BenchmarkType extends Enum<BenchmarkType>
Enumeration of benchmark types supported by the CUI benchmarking infrastructure.

Each type has different characteristics and requirements for badge generation, metrics collection, and reporting.

  • Enum Constant Details

    • MICRO

      public static final BenchmarkType MICRO
      Micro benchmarks that test individual components or methods in isolation.

      Characteristics:

      • Fast execution (seconds to minutes)
      • High precision measurements
      • Minimal external dependencies
      • Focus on throughput and latency
    • INTEGRATION

      public static final BenchmarkType INTEGRATION
      Integration benchmarks that test complete workflows or external services.

      Characteristics:

      • Longer execution time (minutes to hours)
      • Network and I/O overhead
      • External service dependencies
      • Focus on end-to-end performance
  • Method Details

    • values

      public static BenchmarkType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BenchmarkType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getPerformanceBadgeFileName

      Gets the badge file name for performance badges.
      Returns:
      the performance badge file name
    • getTrendBadgeFileName

      Gets the badge file name for trend badges.
      Returns:
      the trend badge file name