tree: 52655f640c1776a405a8b5aa7a80c7aa427296b5
  1. README.md
docs/benchmarks/json/kotlin/README.md

Kotlin JSON Benchmark Report

Measured results are pending. This page will be replaced only by a complete run of the repository Kotlin JSON benchmark harness; no performance number or chart is inferred from the Java, Scala, or historical external benchmark projects.

The source-aligned harness is in benchmarks/kotlin. It compares Fory JSON Kotlin, kotlinx.serialization, Moshi, and Jackson Kotlin with:

  • one immutable MediaContent model with no public zero-argument constructor;
  • the Eishay fixture whose SHA-256 is 8faba2f57ab397f319aced5cf1e8411a76785557d4c7d1703ec9d540354310a1;
  • String serialization, UTF-8 byte serialization, String deserialization, and UTF-8 byte deserialization for each library;
  • one standard JMH invocation for all 16 methods;
  • retained declared-type serializers, adapters, readers, and writers prepared outside timing;
  • fixture decode, own-output round-trip, and all-output JSON-tree equivalence checks before timing.

The eventual measured report will record the source revision, date, hardware, operating system, JDK, Kotlin, JMH, Moshi codegen KSP plugin, library versions, and the exact benchmark settings. Standard JMH JSON and the process log remain available together.