Skip to content

Commit e39c833

Browse files
Abduqodiri Qurbonzodafzhinkin
andauthored
Reference documentation of the latest JMH version
Co-authored-by: Filipp Zhinkin <[email protected]>
1 parent 098f83f commit e39c833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/configuration-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The options listed in the following sections allow you to tailor the benchmark e
6767
**Notes on "jvmForks":**
6868
- **0** - "no fork", i.e., no subprocesses are forked to run benchmarks.
6969
- A positive integer value – the amount used for all benchmarks in this configuration.
70-
- **"definedByJmh"** – Let JMH determine the amount, using the value in the [`@Fork` annotation](https://javadoc.io/static/org.openjdk.jmh/jmh-core/1.21/org/openjdk/jmh/annotations/Fork.html) for the benchmark function or its enclosing class. If not specified by `@Fork`, it defaults to [Defaults.MEASUREMENT_FORKS (`5`)](https://javadoc.io/static/org.openjdk.jmh/jmh-core/1.21/org/openjdk/jmh/runner/Defaults.html#MEASUREMENT_FORKS).
70+
- **"definedByJmh"** – Let JMH determine the amount, using the value in the [`@Fork` annotation](https://javadoc.io/doc/org.openjdk.jmh/jmh-core/latest/org/openjdk/jmh/annotations/Fork.html) for the benchmark function or its enclosing class. If not specified by `@Fork`, it defaults to [Defaults.MEASUREMENT_FORKS (`5`)](https://javadoc.io/doc/org.openjdk.jmh/jmh-core/latest/org/openjdk/jmh/runner/Defaults.html#MEASUREMENT_FORKS).
7171

7272
The library offers the flexibility to specify the version of the Java Microbenchmark Harness (JMH) to use when running benchmarks on the JVM.
7373
The default version is set to `1.21`, but you can customize it while registering a JVM target for benchmarking:

0 commit comments

Comments
 (0)