Serialbench

← Field overview

json

JSON serializer · measured on 20 of 20 environments ·#1 in 5 of 6 measurements · primary environment: macOS 14 · arm64 · Ruby 3.2

Measured environments

macOS 14macOS 14macOS 14macOS 14macOS 15 IntelmacOS 15 IntelmacOS 15 IntelmacOS 15 IntelmacOS 15macOS 15macOS 15macOS 15macOS 26 IntelmacOS 26 IntelmacOS 26 IntelmacOS 26 IntelmacOS 26macOS 26macOS 26macOS 26

Iterations per second on the primary environment · rank vs the field

OperationInputipsms/opRankvs best
Parsesmall556k0.02/41.4× slower than rapidjson
Parsemedium1.6k0.61/4best in field
Parselarge96.410.41/4best in field
Generatesmall476k0.01/4best in field
Generatemedium9721.01/4best in field
Generatelarge68.714.51/4best in field

Compare every library on every environment on the dashboard.

Cite

json measured on macOS 14 · arm64 · Ruby 3.2, JSONworkloads — serialbench, 2026-08-28. Full data: data/macos-14-ruby-3.2.yaml.