Package org.openjdk.jmh.annotations
package org.openjdk.jmh.annotations
-
ClassDescription
AuxCounters
annotation can be used to markState
objects as the bearers of auxiliary secondary results.Benchmark
annotates the benchmark method.Benchmark mode declares the default modes in which this benchmark would run.Compiler control annotation may be used to affect the compilation of particular methods in the benchmarks.Compilation mode.Fork annotation allows to set the default forking parameters for the benchmark.Execution group.GroupThreads defines how many threads are participating in running a particularBenchmark
method in the group.Control when to run the fixture methods.Measurement annotations allows to set the default measurement parameters for the benchmark.Benchmark mode.OperationsPerInvocation annotations allows to communicate the benchmark does more than one operation, and let JMH to adjust the scores appropriately.OutputTimeUnit provides the default time unit to report the results in.Marks the configurable parameter in the benchmark.State
scope.Setup marks the fixture method to be run before the benchmark.Marks the state object.TearDown marks the fixture method to be run after the benchmark.Threads annotation provides the default number of threads to run.Timeout annotation allows to set the default timeout parameters for the benchmark.Warmup annotation allows to set the default warmup parameters for the benchmark.