# openjdk/jmh

https://openjdk.org/projects/code-tools/jmh

Repository: https://github.com/openjdk/jmh
Canonical: https://ross.abutalabs.com/products/jmh
Language: Java
License: GPL-2.0
License Family: copyleft
Last push: 2026-07-14T14:46:24+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 92, release rhythm 35, longevity 100
- inputs: {"age_days": 2667, "days_push": 50, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2671, forks 334 (observed 2026-08-28T04:07:09.519452+00:00)

## What it is
JMH is the Java Microbenchmark Harness, a tool for building, running, and analysing nano/micro/milli/macro benchmarks on the JVM. It generates synthetic benchmark code via annotation or bytecode processors to produce reliable performance measurements.

## Use cases
- benchmark java methods at nanosecond precision
- measure jvm code performance reliably
- compare performance of alternative implementations
- run microbenchmarks from maven project
- benchmark scala or kotlin code on the jvm
- avoid jvm jit benchmarking pitfalls

## When to choose
- you need statistically rigorous JVM microbenchmarks
- you want the de facto standard Java benchmarking harness maintained by OpenJDK

## When to avoid
- you need application-level load testing rather than code microbenchmarks
- you are benchmarking non-JVM languages like Python or Go

## Facets
- artifact type: library
- maturity: stable
- function: benchmarking, testing, developer-tools
- domain: developer-tools, performance, testing
- platform: jvm, cli, cross-platform
- tags: microbenchmark, jvm, java, performance-measurement, benchmark-harness

## Member repositories
- openjdk/jmh (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:09.519452+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:18:08.733684+00:00, confidence not recorded.
  - readme: https://github.com/openjdk/jmh (fetched 2026-08-28T04:07:09.519452+00:00, sha a417848b623c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
