# fabienrenaud/java-json-benchmark

Performance testing of serialization and deserialization of Java JSON libraries

Repository: https://github.com/fabienrenaud/java-json-benchmark
Canonical: https://ross.abutalabs.com/products/java-json-benchmark
Language: Java
License: MIT
License Family: permissive
Last push: 2026-08-11T15:30:12+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 3719, "days_push": 22, "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 1034, forks 142 (observed 2026-08-28T04:03:18.621188+00:00)

## What it is
A JMH-based benchmark suite measuring serialization and deserialization throughput of dozens of Java JSON libraries. It publishes comparative results across payload sizes and databinding vs stream-style APIs.

## Use cases
- compare throughput of java  libraries
- find the fastest  parser for jvm
- benchmark jackson vs gson vs dsl-
- measure  serialization performance with jmh
- choose a  library for high-throughput java service
- see how  library performance scales with payload size

## When to choose
- you need empirical throughput data to pick a Java JSON library
- you want a reproducible JMH harness to benchmark your own JSON library or fork
- you are evaluating databinding vs manual stream parsing tradeoffs

## When to avoid
- you need memory footprint, compression, or very large (>1MB) payload benchmarks, which are explicitly out of scope
- you want a JSON library to use in production rather than a benchmark
- you need benchmarks for non-JVM languages

## Facets
- artifact type: learning-resource
- maturity: active
- function: benchmarking, serialization
- domain: developer-tools, performance, testing
- platform: jvm, cli
- tags: jmh, -libraries, microbenchmark, java

## Member repositories
- fabienrenaud/java-json-benchmark (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:18.621188+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-30T07:06:32.884134+00:00, confidence not recorded.
  - readme: https://github.com/fabienrenaud/java-json-benchmark (fetched 2026-08-28T04:03:18.621188+00:00, sha e3c7a950d8a3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
