Annotation Type BenchmarkMode


  • @Inherited
    @Target({METHOD,TYPE})
    @Retention(RUNTIME)
    public @interface BenchmarkMode

    Benchmark mode declares the default modes in which this benchmark would run. See Mode for available benchmark modes.

    This annotation may be put at Benchmark method to have effect on that method only, or at the enclosing class instance to have the effect over all Benchmark methods in the class. This annotation may be overridden with the runtime options.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Mode[] value  
    • Element Detail

      • value

        Mode[] value
        Returns:
        Which benchmark modes to use.
        See Also:
        Mode