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
| Operation | Input | ips | ms/op | Rank | vs best |
|---|---|---|---|---|---|
| Parse | small | 556k | 0.0 | 2/4 | 1.4× slower than rapidjson |
| Parse | medium | 1.6k | 0.6 | 1/4 | best in field |
| Parse | large | 96.4 | 10.4 | 1/4 | best in field |
| Generate | small | 476k | 0.0 | 1/4 | best in field |
| Generate | medium | 972 | 1.0 | 1/4 | best in field |
| Generate | large | 68.7 | 14.5 | 1/4 | best in field |
Compare every library on every environment on the dashboard.
json measured on macOS 14 · arm64 · Ruby 3.2, JSONworkloads — serialbench, 2026-08-28. Full data: data/macos-14-ruby-3.2.yaml.