Serialbench

← Field overview

oga

HTML / XML serializer · measured on 46 of 99 environments ·#1 in 0 of 18 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
Parsesmall11k0.14/938.6× slower than ox
Parsesmall14k0.14/611.0× slower than leptris-whatwg
Parsemedium4.11243.415/978.6× slower than leptris
Parsemedium22.444.64/619.6× slower than leptris
Parselarge0.313219.685/977.8× slower than nokogiri
Parselarge2.65377.394/611.5× slower than nokogiri
Generatesmall2.6k0.45/9103.5× slower than ox
Generatesmall10k0.14/615.3× slower than leptris
Generatemedium4.29233.255/9110.0× slower than leptris
Generatemedium17.457.44/632.6× slower than leptris
Generatelarge0.303382.435/946.9× slower than ox
Generatelarge1.95513.254/615.6× slower than nokogiri
Streamsmall4.7k0.24/664.8× slower than ox
Streammedium5.92168.874/6244.2× slower than leptris
Streamlarge0.541841.734/6120.0× slower than leptris
XPathsmall5.1k0.23/710.9× slower than leptris
XPathmedium1.88532.353/739.6× slower than nokogiri
XPathlarge0.293445.803/773.3× slower than leptris

Compare every library on every environment on the dashboard.

Cite

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