rapidjson
JSON serializer · measured on 20 of 20 environments ·#1 in 1 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 | 769k | 0.0 | 1/4 | best in field |
| Parse | medium | 216 | 4.6 | 4/4 | 7.5× slower than json |
| Parse | large | 63.4 | 15.8 | 2/4 | 1.5× slower than json |
| Generate | small | 435k | 0.0 | 2/4 | 1.1× slower than json |
| Generate | medium | 550 | 1.8 | 3/4 | 1.8× slower than json |
| Generate | large | 38.7 | 25.9 | 3/4 | 1.8× slower than json |
Compare every library on every environment on the dashboard.
rapidjson measured on macOS 14 · arm64 · Ruby 3.2, JSONworkloads — serialbench, 2026-08-28. Full data: data/macos-14-ruby-3.2.yaml.