Serialbench

← Field overview

yajl

JSON serializer · measured on 46 of 99 environments ·#1 in 2 of 9 measurements · primary environment: macOS 26 · arm64 · Ruby 3.2

Measured environments

macOS 26macOS 26macOS 26macOS 26macOS 26macOS 26macOS 26macOS 26macOS 26macOS 26macOS 26 IntelmacOS 26 IntelmacOS 26 IntelmacOS 26 IntelmacOS 26 IntelmacOS 26 IntelmacOS 26 IntelmacOS 26 IntelmacOS 26 IntelmacOS 26 IntelmacOS 15macOS 15macOS 15macOS 15macOS 15macOS 15macOS 15macOS 15macOS 15macOS 15macOS 15 IntelmacOS 15 IntelmacOS 15 IntelmacOS 15 IntelmacOS 15 IntelmacOS 15 IntelmacOS 15 IntelmacOS 15 IntelmacOS 14macOS 14macOS 14macOS 14macOS 14macOS 14macOS 14macOS 14Windows 2025Windows 2025Windows 2025Windows 2025Windows 2025Windows 2025Windows 2025Windows 2025Windows 11Windows 11Windows 2022Windows 2022Windows 2022Windows 2022Windows 2022Windows 2022Windows 2022Windows 2022Windows 2022Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 24.04Ubuntu 22.04Ubuntu 22.04Ubuntu 22.04Ubuntu 22.04Ubuntu 22.04Ubuntu 22.04Ubuntu 22.04Ubuntu 22.04Ubuntu 22.04Ubuntu 22.04Ubuntu 22.04Ubuntu 22.04Ubuntu 22.04Ubuntu 22.04

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

OperationInputipsms/opRankvs best
Parsesmall89k0.04/127.5× slower than rapidjson
Parsemedium1765.74/124.3× slower than json
Parselarge15.763.75/122.5× slower than json
Generatesmall49k0.04/108.2× slower than oj
Generatemedium2613.84/101.7× slower than json
Generatelarge7.83127.654/104.6× slower than json
Streamsmall294k0.01/2best in field
Streammedium1965.12/21.1× slower than oj
Streamlarge22.444.61/2best in field

Compare every library on every environment on the dashboard.

Cite

yajl measured on macOS 26 · arm64 · Ruby 3.2, JSONworkloads — serialbench, 2026-10-19. Full data: data/macos-26-ruby-3.2.yaml.