Skip to content

Benchmarks

Speed, memory, spec-conformance, and bundle size for Lightning YAML against the other parsers this repo benchmarks itself against: js-yaml, yaml (eemeli), and the JSON baseline where a workload is JSON-shaped enough for it to compete. Use the “On this page” panel to jump between sections; each metric shows the latest run, the trend over time, and a full breakdown by workload. Every section below states its own measurement’s date, source commit, and (where the suite records one) environment — sections come from different published runs, so this page never shows one line for all of them.

Every figure on this page — and everywhere else on this site (the homepage, any “N× faster” figure) — is a single real measurement in the environment it’s labelled with. Nothing here is ever averaged or blended across environments: a browser’s engine and Node are different machines with different results, and combining them into one number would hide that. Where more than one environment has published results, use the picker below to see each engine’s own numbers; a ratio’s popover elsewhere on the site lists each engine’s own measured value the same way.

Right now, results come from node 24.22.2 (x64-linux), chromium 141.0.7390.37 (x64-linux), webkit 26.0 (x64-linux). As a new environment — a browser engine, a different Node version — starts publishing benchmark runs, it adds its own rows and its own picker option; it never changes the numbers already shown for an environment that was already publishing.

A few notes on the charts themselves:

  • Bar charts (latest run) scale each workload row to its own slowest parser, so compare bars within a row, not across rows. Speed bars are labelled with time relative to the fastest parser in that row (×); memory bars are labelled with the absolute peak RSS.
  • Trend charts (over time) render one document per published run, oldest to newest. Absolute nanoseconds drift with CI-runner noise, so the speed trends plot a machine-invariant ratio-to-fastest on a log axis; memory, conformance, and bundle size are stable, so they trend as absolute values. Hover any point for its date, value, and — where the run recorded one — the library version; a ringed point marks a version change.
  • Every chart is a static image — inline SVG rendered at build time, no client JavaScript.

These numbers track real runs, not a hand-captured snapshot: CI publishes each run to the orphan benchmark-data branch, and the deploy workflow overlays that history at build time — the bar charts render the newest published document per suite, the trend charts the full history. To reproduce them yourself, see running the benchmarks & tests.

The speed charts below (Parse speed, Stringify speed) were measured in more than one runtime — pick one; it applies to both sections:

Turning YAML text into JavaScript values — the hot path for most consumers.

Measured on AMD EPYC 9V45 96-Core Processor (~4.16 GHz) · node 24.22.2 (x64-linux) · generated 2026-11-20 · source ddd0913d7022fad0cdb43dd5c71f6f3d0e9d4f03

Measured in chromium 141.0.7390.37 (x64-linux) · generated 2026-11-20 · source ddd0913d7022fad0cdb43dd5c71f6f3d0e9d4f03

Measured in webkit 26.0 (x64-linux) · generated 2026-11-20 · source ddd0913d7022fad0cdb43dd5c71f6f3d0e9d4f03

Parse time by workload

Lower is better. Each workload is scaled to its own slowest parser; labels show time relative to the fastest parser in that row (×). Exact avg ns per parse() call is in the breakdown below.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • yaml (eemeli) 2.9.0
Parse time by workload (relative to fastest, per row)Parse time by workload (relative to fastest, per row) — lower is better. Each workload is scaled to its own slowest parser, so bar length is proportional to time within a row; rows are not comparable to each other, and every bar is labelled with its time relative to the fastest parser in that row (×). Series: JSON, Lightning YAML 0.2.0, js-yaml 5.4.3, yaml (eemeli) 2.9.0. 5 workloads: small-records, medium-records, large-records, xlarge-records, yaml-rich-medium.1.0×2.3×8.9×104×small-records1.0×1.9×7.4×112×medium-records1.0×1.9×9.5×119×large-records1.0×2.0×9.8×103×xlarge-records1.0×2.9×34×yaml-rich-medium

Parse time by workload

Lower is better. Each workload is scaled to its own slowest parser; labels show time relative to the fastest parser in that row (×). Exact avg ns per parse() call is in the breakdown below.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • yaml (eemeli) 2.9.0
Parse time by workload (relative to fastest, per row)Parse time by workload (relative to fastest, per row) — lower is better. Each workload is scaled to its own slowest parser, so bar length is proportional to time within a row; rows are not comparable to each other, and every bar is labelled with its time relative to the fastest parser in that row (×). Series: JSON, Lightning YAML 0.2.0, js-yaml 5.4.3, yaml (eemeli) 2.9.0. 4 workloads: small-records, medium-records, large-records, yaml-rich-medium.1.0×3.4×11×105×small-records1.0×2.9×9.5×110×medium-records1.0×2.6×10×101×large-records1.0×2.3×21×yaml-rich-medium

Parse time by workload

Lower is better. Each workload is scaled to its own slowest parser; labels show time relative to the fastest parser in that row (×). Exact avg ns per parse() call is in the breakdown below.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • yaml (eemeli) 2.9.0
Parse time by workload (relative to fastest, per row)Parse time by workload (relative to fastest, per row) — lower is better. Each workload is scaled to its own slowest parser, so bar length is proportional to time within a row; rows are not comparable to each other, and every bar is labelled with its time relative to the fastest parser in that row (×). Series: JSON, Lightning YAML 0.2.0, js-yaml 5.4.3, yaml (eemeli) 2.9.0. 4 workloads: small-records, medium-records, large-records, yaml-rich-medium.1.0×2.4×10×150×small-records1.0×1.9×8.5×107×medium-records1.0×2.2×9.4×138×large-records1.0×3.6×35×yaml-rich-medium

Parse time vs fastest, run over run — large-records

Lower is better, log scale. Each parser's time as a multiple of the fastest in the same run (×) — machine-invariant. The fastest sits at 1× by construction; a rising Lightning YAML line would mean a regression.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • yaml (eemeli) 2.9.0
Parse time vs fastest over time — large-recordsParse time vs fastest over time — large-records — lower is better. Trend across 96 benchmark runs, oldest to newest; latest values: JSON 1.0×, Lightning YAML 0.2.0 1.9×, js-yaml 5.4.3 9.5×, yaml (eemeli) 2.9.0 119×.1.0×3.0×10×30×100×2026-07-132026-07-222026-10-132026-11-202026-07-13 · 1.0×2026-07-15 · 1.0×2026-07-15 · 1.0×2026-07-16 · 1.0×2026-07-16 · 1.0×2026-07-16 · 1.0×2026-07-16 · 1.0×2026-07-18 · 1.0×2026-07-18 · 1.0×2026-07-18 · 1.0×2026-07-19 · 1.0×2026-07-19 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-21 · 1.0×2026-07-21 · 1.0×2026-07-21 · 1.0×2026-07-21 · 1.0×2026-07-21 · 1.0×2026-07-21 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-24 · 1.0×2026-07-24 · 1.0×2026-07-25 · 1.0×2026-07-25 · 1.0×2026-07-28 · 1.0×2026-08-01 · 1.0×2026-08-10 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-09 · 1.0×2026-10-09 · 1.0×2026-10-11 · 1.0×2026-10-11 · 1.0×2026-10-12 · 1.0×2026-10-12 · 1.0×2026-10-13 · 1.0×2026-10-13 · 1.0×2026-10-14 · 1.0×2026-10-15 · 1.0×2026-10-15 · 1.0×2026-10-16 · 1.0×2026-10-16 · 1.0×2026-10-17 · 1.0×2026-10-17 · 1.0×2026-10-18 · 1.0×2026-10-19 · 1.0×2026-10-20 · 1.0×2026-10-20 · 1.0×2026-11-08 · 1.0×2026-11-08 · 1.0×2026-11-09 · 1.0×2026-11-10 · 1.0×2026-11-11 · 1.0×2026-11-13 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-15 · 1.0×2026-11-15 · 1.0×2026-11-16 · 1.0×2026-11-16 · 1.0×2026-11-17 · 1.0×2026-11-17 · 1.0×2026-11-18 · 1.0×2026-11-18 · 1.0×2026-11-19 · 1.0×2026-11-20 · 1.0×2026-07-13 · 2.2×2026-07-15 · 2.0×2026-07-15 · 1.9×2026-07-16 · 2.0×2026-07-16 · 1.8×2026-07-16 · 2.0×2026-07-16 · 1.7×2026-07-18 · 1.8×2026-07-18 · 2.0×2026-07-18 · 1.8×2026-07-19 · 1.8×2026-07-19 · 2.0×2026-07-20 · 2.1×2026-07-20 · 1.8×2026-07-20 · 2.1×2026-07-20 · 1.8×2026-07-20 · 2.1×2026-07-20 · 1.9×2026-07-20 · 1.8×2026-07-20 · 1.9×2026-07-20 · 1.8× · v0.1.12026-07-20 · 1.9× · v0.1.12026-07-21 · 1.7× · v0.1.12026-07-21 · 1.9× · v0.1.12026-07-21 · 1.9× · v0.1.12026-07-21 · 1.7× · v0.1.12026-07-21 · 1.7× · v0.1.12026-07-21 · 1.9× · v0.1.12026-07-22 · 1.7× · v0.1.12026-07-22 · 1.7× · v0.1.12026-07-22 · 1.9× · v0.1.12026-07-22 · 1.9× · v0.1.12026-07-22 · 1.9× · v0.1.12026-07-22 · 1.9× · v0.1.12026-07-22 · 1.6× · v0.1.12026-07-22 · 2.0× · v0.1.12026-07-22 · 1.7× · v0.1.12026-07-23 · 2.0× · v0.1.12026-07-23 · 1.6× · v0.1.12026-07-23 · 1.6× · v0.1.12026-07-23 · 1.9× · v0.1.12026-07-23 · 1.9× · v0.1.12026-07-23 · 1.9× · v0.1.12026-07-24 · 1.9× · v0.1.12026-07-24 · 1.7× · v0.1.12026-07-25 · 1.9× · v0.1.12026-07-25 · 1.8× · v0.1.12026-07-28 · 1.9× · v0.1.12026-08-01 · 1.7× · v0.1.12026-08-10 · 1.9× · v0.1.12026-10-08 · 1.9× · v0.1.12026-10-08 · 1.8× · v0.1.12026-10-08 · 1.8× · v0.1.12026-10-08 · 1.9× · v0.1.12026-10-08 · 1.9× · v0.1.12026-10-08 · 1.9× · v0.1.12026-10-09 · 1.6× · v0.1.12026-10-09 · 1.9× · v0.1.12026-10-11 · 1.8× · v0.1.12026-10-11 · 1.9× · v0.1.12026-10-12 · 1.9× · v0.1.12026-10-12 · 1.9× · v0.1.12026-10-13 · 1.9× · v0.1.12026-10-13 · 1.9× · v0.1.12026-10-14 · 1.9× · v0.1.12026-10-15 · 1.9× · v0.1.12026-10-15 · 1.9× · v0.1.12026-10-16 · 1.9× · v0.1.12026-10-16 · 2.1× · v0.1.12026-10-17 · 1.9× · v0.1.12026-10-17 · 1.6× · v0.1.12026-10-18 · 1.9× · v0.1.12026-10-19 · 1.7× · v0.1.12026-10-20 · 1.8× · v0.1.12026-10-20 · 1.9× · v0.1.12026-11-08 · 1.7× · v0.1.12026-11-08 · 1.9× · v0.1.12026-11-09 · 1.9× · v0.1.12026-11-10 · 1.8× · v0.1.12026-11-11 · 1.7× · v0.1.12026-11-13 · 1.9× · v0.1.12026-11-14 · 2.0× · v0.1.12026-11-14 · 2.0× · v0.1.12026-11-14 · 2.0× · v0.1.12026-11-14 · 1.7× · v0.1.12026-11-14 · 1.9× · v0.1.12026-11-15 · 1.9× · v0.1.12026-11-15 · 1.8× · v0.1.12026-11-16 · 2.0× · v0.1.12026-11-16 · 2.0× · v0.1.12026-11-17 · 1.9× · v0.1.12026-11-17 · 1.9× · v0.1.12026-11-18 · 1.7× · v0.1.12026-11-18 · 1.7× · v0.1.12026-11-19 · 1.9× · v0.1.12026-11-20 · 1.9× · 0.1.1 → 0.2.02026-07-13 · 12×2026-07-15 · 20×2026-07-15 · 20×2026-07-16 · 21×2026-07-16 · 19×2026-07-16 · 26×2026-07-16 · 19×2026-07-18 · 20×2026-07-18 · 21×2026-07-18 · 20×2026-07-19 · 21×2026-07-19 · 21×2026-07-20 · 20×2026-07-20 · 21×2026-07-20 · 21×2026-07-20 · 20×2026-07-20 · 22×2026-07-20 · 23×2026-07-20 · 19×2026-07-20 · 20×2026-07-20 · 21× · v5.2.12026-07-20 · 21× · v5.2.12026-07-21 · 19× · v5.2.12026-07-21 · 21× · v5.2.12026-07-21 · 20× · v5.2.12026-07-21 · 19× · v5.2.12026-07-21 · 19× · v5.2.12026-07-21 · 20× · v5.2.12026-07-22 · 19× · v5.2.12026-07-22 · 20× · v5.2.12026-07-22 · 8.8× · v5.2.12026-07-22 · 8.7× · v5.2.12026-07-22 · 8.8× · v5.2.12026-07-22 · 9.0× · v5.2.12026-07-22 · 8.0× · v5.2.12026-07-22 · 9.0× · v5.2.12026-07-22 · 8.0× · v5.2.12026-07-23 · 8.9× · v5.2.12026-07-23 · 7.9× · v5.2.12026-07-23 · 8.5× · v5.2.12026-07-23 · 9.4× · v5.2.12026-07-23 · 9.1× · v5.2.12026-07-23 · 9.4× · v5.2.12026-07-24 · 9.0× · v5.2.12026-07-24 · 8.1× · v5.2.12026-07-25 · 8.7× · v5.2.12026-07-25 · 8.8× · v5.2.12026-07-28 · 9.1× · v5.2.12026-08-01 · 8.3× · v5.2.12026-08-10 · 8.6× · v5.2.12026-10-08 · 8.7× · v5.2.12026-10-08 · 8.7× · v5.2.12026-10-08 · 8.4× · v5.2.12026-10-08 · 8.6× · v5.2.12026-10-08 · 9.0× · v5.2.12026-10-08 · 8.6× · v5.2.12026-10-09 · 7.8× · v5.2.12026-10-09 · 8.5× · v5.2.12026-10-11 · 8.5× · v5.2.12026-10-11 · 8.9× · 5.2.1 → 5.4.32026-10-12 · 8.8× · v5.4.32026-10-12 · 8.9× · v5.4.32026-10-13 · 10× · v5.4.32026-10-13 · 8.9× · v5.4.32026-10-14 · 8.8× · v5.4.32026-10-15 · 8.7× · v5.4.32026-10-15 · 8.8× · v5.4.32026-10-16 · 9.4× · v5.4.32026-10-16 · 9.1× · v5.4.32026-10-17 · 9.3× · v5.4.32026-10-17 · 8.1× · v5.4.32026-10-18 · 9.1× · v5.4.32026-10-19 · 8.3× · v5.4.32026-10-20 · 9.2× · v5.4.32026-10-20 · 8.7× · v5.4.32026-11-08 · 9.4× · v5.4.32026-11-08 · 9.1× · v5.4.32026-11-09 · 9.3× · v5.4.32026-11-10 · 8.9× · v5.4.32026-11-11 · 8.8× · v5.4.32026-11-13 · 8.7× · v5.4.32026-11-14 · 9.7× · v5.4.32026-11-14 · 9.6× · v5.4.32026-11-14 · 9.7× · v5.4.32026-11-14 · 9.1× · v5.4.32026-11-14 · 9.5× · v5.4.32026-11-15 · 9.5× · v5.4.32026-11-15 · 9.5× · v5.4.32026-11-16 · 9.5× · v5.4.32026-11-16 · 9.4× · v5.4.32026-11-17 · 8.8× · v5.4.32026-11-17 · 9.4× · v5.4.32026-11-18 · 8.9× · v5.4.32026-11-18 · 8.3× · v5.4.32026-11-19 · 9.5× · v5.4.32026-11-20 · 9.5× · v5.4.32026-07-13 · 113×2026-07-15 · 98×2026-07-15 · 100×2026-07-16 · 105×2026-07-16 · 100×2026-07-16 · 97×2026-07-16 · 91×2026-07-18 · 107×2026-07-18 · 107×2026-07-18 · 104×2026-07-19 · 96×2026-07-19 · 101×2026-07-20 · 107×2026-07-20 · 107×2026-07-20 · 106×2026-07-20 · 100×2026-07-20 · 106×2026-07-20 · 93×2026-07-20 · 94×2026-07-20 · 91×2026-07-20 · 92× · v2.9.02026-07-20 · 92× · v2.9.02026-07-21 · 85× · v2.9.02026-07-21 · 91× · v2.9.02026-07-21 · 92× · v2.9.02026-07-21 · 92× · v2.9.02026-07-21 · 86× · v2.9.02026-07-21 · 92× · v2.9.02026-07-22 · 90× · v2.9.02026-07-22 · 85× · v2.9.02026-07-22 · 106× · v2.9.02026-07-22 · 107× · v2.9.02026-07-22 · 107× · v2.9.02026-07-22 · 105× · v2.9.02026-07-22 · 103× · v2.9.02026-07-22 · 110× · v2.9.02026-07-22 · 105× · v2.9.02026-07-23 · 108× · v2.9.02026-07-23 · 101× · v2.9.02026-07-23 · 112× · v2.9.02026-07-23 · 105× · v2.9.02026-07-23 · 104× · v2.9.02026-07-23 · 96× · v2.9.02026-07-24 · 104× · v2.9.02026-07-24 · 103× · v2.9.02026-07-25 · 105× · v2.9.02026-07-25 · 103× · v2.9.02026-07-28 · 109× · v2.9.02026-08-01 · 105× · v2.9.02026-08-10 · 106× · v2.9.02026-10-08 · 107× · v2.9.02026-10-08 · 115× · v2.9.02026-10-08 · 102× · v2.9.02026-10-08 · 102× · v2.9.02026-10-08 · 107× · v2.9.02026-10-08 · 107× · v2.9.02026-10-09 · 99× · v2.9.02026-10-09 · 106× · v2.9.02026-10-11 · 102× · v2.9.02026-10-11 · 103× · v2.9.02026-10-12 · 106× · v2.9.02026-10-12 · 105× · v2.9.02026-10-13 · 95× · v2.9.02026-10-13 · 109× · v2.9.02026-10-14 · 106× · v2.9.02026-10-15 · 103× · v2.9.02026-10-15 · 106× · v2.9.02026-10-16 · 120× · v2.9.02026-10-16 · 106× · v2.9.02026-10-17 · 109× · v2.9.02026-10-17 · 101× · v2.9.02026-10-18 · 106× · v2.9.02026-10-19 · 105× · v2.9.02026-10-20 · 117× · v2.9.02026-10-20 · 107× · v2.9.02026-11-08 · 114× · v2.9.02026-11-08 · 108× · v2.9.02026-11-09 · 96× · v2.9.02026-11-10 · 118× · v2.9.02026-11-11 · 107× · v2.9.02026-11-13 · 105× · v2.9.02026-11-14 · 109× · v2.9.02026-11-14 · 102× · v2.9.02026-11-14 · 111× · v2.9.02026-11-14 · 122× · v2.9.02026-11-14 · 119× · v2.9.02026-11-15 · 101× · v2.9.02026-11-15 · 124× · v2.9.02026-11-16 · 105× · v2.9.02026-11-16 · 104× · v2.9.02026-11-17 · 105× · v2.9.02026-11-17 · 106× · v2.9.02026-11-18 · 118× · v2.9.02026-11-18 · 102× · v2.9.02026-11-19 · 103× · v2.9.02026-11-20 · 119× · v2.9.0

Parse time vs fastest, run over run — large-records

Lower is better, log scale. Each parser's time as a multiple of the fastest in the same run (×) — machine-invariant. The fastest sits at 1× by construction; a rising Lightning YAML line would mean a regression.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • yaml (eemeli) 2.9.0
Parse time vs fastest over time — large-recordsParse time vs fastest over time — large-records — lower is better. Trend across 58 benchmark runs, oldest to newest; latest values: JSON 1.0×, Lightning YAML 0.2.0 2.6×, js-yaml 5.4.3 10×, yaml (eemeli) 2.9.0 101×.1.0×3.0×10×30×100×2026-07-232026-10-092026-11-082026-11-202026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-24 · 1.0×2026-07-24 · 1.0×2026-07-25 · 1.0×2026-07-25 · 1.0×2026-07-28 · 1.0×2026-08-01 · 1.0×2026-08-10 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-09 · 1.0×2026-10-09 · 1.0×2026-10-11 · 1.0×2026-10-11 · 1.0×2026-10-12 · 1.0×2026-10-12 · 1.0×2026-10-13 · 1.0×2026-10-13 · 1.0×2026-10-14 · 1.0×2026-10-15 · 1.0×2026-10-15 · 1.0×2026-10-16 · 1.0×2026-10-16 · 1.0×2026-10-17 · 1.0×2026-10-17 · 1.0×2026-10-18 · 1.0×2026-10-19 · 1.0×2026-10-20 · 1.0×2026-10-20 · 1.0×2026-11-08 · 1.0×2026-11-09 · 1.0×2026-11-10 · 1.0×2026-11-11 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-15 · 1.0×2026-11-15 · 1.0×2026-11-16 · 1.0×2026-11-16 · 1.0×2026-11-17 · 1.0×2026-11-17 · 1.0×2026-11-18 · 1.0×2026-11-18 · 1.0×2026-11-19 · 1.0×2026-11-20 · 1.0×2026-07-23 · 2.9× · v0.1.12026-07-23 · 2.6× · v0.1.12026-07-23 · 2.8× · v0.1.12026-07-23 · 2.9× · v0.1.12026-07-23 · 2.9× · v0.1.12026-07-23 · 2.6× · v0.1.12026-07-24 · 2.8× · v0.1.12026-07-24 · 2.8× · v0.1.12026-07-25 · 2.8× · v0.1.12026-07-25 · 3.0× · v0.1.12026-07-28 · 2.9× · v0.1.12026-08-01 · 2.7× · v0.1.12026-08-10 · 2.9× · v0.1.12026-10-08 · 2.9× · v0.1.12026-10-08 · 2.8× · v0.1.12026-10-08 · 2.9× · v0.1.12026-10-08 · 2.9× · v0.1.12026-10-08 · 2.9× · v0.1.12026-10-08 · 3.0× · v0.1.12026-10-09 · 2.8× · v0.1.12026-10-09 · 3.0× · v0.1.12026-10-11 · 2.9× · v0.1.12026-10-11 · 2.7× · v0.1.12026-10-12 · 3.0× · v0.1.12026-10-12 · 3.0× · v0.1.12026-10-13 · 2.8× · v0.1.12026-10-13 · 2.9× · v0.1.12026-10-14 · 3.0× · v0.1.12026-10-15 · 2.9× · v0.1.12026-10-15 · 2.8× · v0.1.12026-10-16 · 2.6× · v0.1.12026-10-16 · 2.9× · v0.1.12026-10-17 · 3.0× · v0.1.12026-10-17 · 2.7× · v0.1.12026-10-18 · 2.9× · v0.1.12026-10-19 · 2.8× · v0.1.12026-10-20 · 2.6× · v0.1.12026-10-20 · 2.8× · v0.1.12026-11-08 · 2.9× · v0.1.12026-11-09 · 3.1× · v0.1.12026-11-10 · 2.6× · v0.1.12026-11-11 · 2.7× · v0.1.12026-11-14 · 2.9× · v0.1.12026-11-14 · 3.1× · v0.1.12026-11-14 · 3.1× · v0.1.12026-11-14 · 3.1× · v0.1.12026-11-14 · 2.6× · v0.1.12026-11-14 · 2.7× · v0.1.12026-11-15 · 3.2× · v0.1.12026-11-15 · 2.7× · v0.1.12026-11-16 · 3.1× · v0.1.12026-11-16 · 3.0× · v0.1.12026-11-17 · 2.9× · v0.1.12026-11-17 · 3.0× · v0.1.12026-11-18 · 2.5× · v0.1.12026-11-18 · 2.8× · v0.1.12026-11-19 · 3.1× · v0.1.12026-11-20 · 2.6× · 0.1.1 → 0.2.02026-07-23 · 10× · v5.2.12026-07-23 · 11× · v5.2.12026-07-23 · 10× · v5.2.12026-07-23 · 11× · v5.2.12026-07-23 · 10.0× · v5.2.12026-07-23 · 10× · v5.2.12026-07-24 · 9.5× · v5.2.12026-07-24 · 10× · v5.2.12026-07-25 · 11× · v5.2.12026-07-25 · 11× · v5.2.12026-07-28 · 11× · v5.2.12026-08-01 · 11× · v5.2.12026-08-10 · 10× · v5.2.12026-10-08 · 10× · v5.2.12026-10-08 · 10× · v5.2.12026-10-08 · 10× · v5.2.12026-10-08 · 11× · v5.2.12026-10-08 · 11× · v5.2.12026-10-08 · 11× · v5.2.12026-10-09 · 10× · v5.2.12026-10-09 · 10× · v5.2.12026-10-11 · 10× · v5.2.12026-10-11 · 10× · 5.2.1 → 5.4.32026-10-12 · 10× · v5.4.32026-10-12 · 11× · v5.4.32026-10-13 · 12× · v5.4.32026-10-13 · 10× · v5.4.32026-10-14 · 10× · v5.4.32026-10-15 · 10.0× · v5.4.32026-10-15 · 11× · v5.4.32026-10-16 · 9.7× · v5.4.32026-10-16 · 11× · v5.4.32026-10-17 · 11× · v5.4.32026-10-17 · 9.9× · v5.4.32026-10-18 · 10× · v5.4.32026-10-19 · 11× · v5.4.32026-10-20 · 10× · v5.4.32026-10-20 · 11× · v5.4.32026-11-08 · 10× · v5.4.32026-11-09 · 11× · v5.4.32026-11-10 · 10× · v5.4.32026-11-11 · 10× · v5.4.32026-11-14 · 9.8× · v5.4.32026-11-14 · 11× · v5.4.32026-11-14 · 10× · v5.4.32026-11-14 · 11× · v5.4.32026-11-14 · 11× · v5.4.32026-11-14 · 9.5× · v5.4.32026-11-15 · 11× · v5.4.32026-11-15 · 10× · v5.4.32026-11-16 · 11× · v5.4.32026-11-16 · 10× · v5.4.32026-11-17 · 10.0× · v5.4.32026-11-17 · 11× · v5.4.32026-11-18 · 9.3× · v5.4.32026-11-18 · 11× · v5.4.32026-11-19 · 11× · v5.4.32026-11-20 · 10× · v5.4.32026-07-23 · 93× · v2.9.02026-07-23 · 94× · v2.9.02026-07-23 · 98× · v2.9.02026-07-23 · 88× · v2.9.02026-07-23 · 88× · v2.9.02026-07-23 · 69× · v2.9.02026-07-24 · 91× · v2.9.02026-07-24 · 93× · v2.9.02026-07-25 · 91× · v2.9.02026-07-25 · 93× · v2.9.02026-07-28 · 94× · v2.9.02026-08-01 · 99× · v2.9.02026-08-10 · 92× · v2.9.02026-10-08 · 94× · v2.9.02026-10-08 · 104× · v2.9.02026-10-08 · 89× · v2.9.02026-10-08 · 89× · v2.9.02026-10-08 · 93× · v2.9.02026-10-08 · 95× · v2.9.02026-10-09 · 99× · v2.9.02026-10-09 · 96× · v2.9.02026-10-11 · 91× · v2.9.02026-10-11 · 87× · v2.9.02026-10-12 · 93× · v2.9.02026-10-12 · 93× · v2.9.02026-10-13 · 84× · v2.9.02026-10-13 · 94× · v2.9.02026-10-14 · 95× · v2.9.02026-10-15 · 96× · v2.9.02026-10-15 · 91× · v2.9.02026-10-16 · 100× · v2.9.02026-10-16 · 94× · v2.9.02026-10-17 · 94× · v2.9.02026-10-17 · 95× · v2.9.02026-10-18 · 94× · v2.9.02026-10-19 · 99× · v2.9.02026-10-20 · 108× · v2.9.02026-10-20 · 92× · v2.9.02026-11-08 · 97× · v2.9.02026-11-09 · 88× · v2.9.02026-11-10 · 106× · v2.9.02026-11-11 · 99× · v2.9.02026-11-14 · 91× · v2.9.02026-11-14 · 87× · v2.9.02026-11-14 · 83× · v2.9.02026-11-14 · 98× · v2.9.02026-11-14 · 106× · v2.9.02026-11-14 · 108× · v2.9.02026-11-15 · 100× · v2.9.02026-11-15 · 108× · v2.9.02026-11-16 · 87× · v2.9.02026-11-16 · 90× · v2.9.02026-11-17 · 91× · v2.9.02026-11-17 · 86× · v2.9.02026-11-18 · 102× · v2.9.02026-11-18 · 93× · v2.9.02026-11-19 · 91× · v2.9.02026-11-20 · 101× · v2.9.0

Parse time vs fastest, run over run — large-records

Lower is better, log scale. Each parser's time as a multiple of the fastest in the same run (×) — machine-invariant. The fastest sits at 1× by construction; a rising Lightning YAML line would mean a regression.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • yaml (eemeli) 2.9.0
Parse time vs fastest over time — large-recordsParse time vs fastest over time — large-records — lower is better. Trend across 58 benchmark runs, oldest to newest; latest values: JSON 1.0×, Lightning YAML 0.2.0 2.2×, js-yaml 5.4.3 9.4×, yaml (eemeli) 2.9.0 138×.1.0×3.0×10×30×100×2026-07-232026-10-092026-11-082026-11-202026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-24 · 1.0×2026-07-24 · 1.0×2026-07-25 · 1.0×2026-07-25 · 1.0×2026-07-28 · 1.0×2026-08-01 · 1.0×2026-08-10 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-09 · 1.0×2026-10-09 · 1.0×2026-10-11 · 1.0×2026-10-11 · 1.0×2026-10-12 · 1.0×2026-10-12 · 1.0×2026-10-13 · 1.0×2026-10-13 · 1.0×2026-10-14 · 1.0×2026-10-15 · 1.0×2026-10-15 · 1.0×2026-10-16 · 1.0×2026-10-16 · 1.0×2026-10-17 · 1.0×2026-10-17 · 1.0×2026-10-18 · 1.0×2026-10-19 · 1.0×2026-10-20 · 1.0×2026-10-20 · 1.0×2026-11-08 · 1.0×2026-11-09 · 1.0×2026-11-10 · 1.0×2026-11-11 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-15 · 1.0×2026-11-15 · 1.0×2026-11-16 · 1.0×2026-11-16 · 1.0×2026-11-17 · 1.0×2026-11-17 · 1.0×2026-11-18 · 1.0×2026-11-18 · 1.0×2026-11-19 · 1.0×2026-11-20 · 1.0×2026-07-23 · 2.2× · v0.1.12026-07-23 · 2.0× · v0.1.12026-07-23 · 2.2× · v0.1.12026-07-23 · 2.0× · v0.1.12026-07-23 · 2.2× · v0.1.12026-07-23 · 2.1× · v0.1.12026-07-24 · 2.2× · v0.1.12026-07-24 · 2.0× · v0.1.12026-07-25 · 2.2× · v0.1.12026-07-25 · 1.9× · v0.1.12026-07-28 · 2.2× · v0.1.12026-08-01 · 2.1× · v0.1.12026-08-10 · 2.2× · v0.1.12026-10-08 · 1.8× · v0.1.12026-10-08 · 1.9× · v0.1.12026-10-08 · 2.2× · v0.1.12026-10-08 · 2.3× · v0.1.12026-10-08 · 2.1× · v0.1.12026-10-08 · 2.2× · v0.1.12026-10-09 · 2.2× · v0.1.12026-10-09 · 1.8× · v0.1.12026-10-11 · 2.2× · v0.1.12026-10-11 · 2.1× · v0.1.12026-10-12 · 2.1× · v0.1.12026-10-12 · 2.1× · v0.1.12026-10-13 · 2.1× · v0.1.12026-10-13 · 2.2× · v0.1.12026-10-14 · 2.2× · v0.1.12026-10-15 · 2.2× · v0.1.12026-10-15 · 2.1× · v0.1.12026-10-16 · 1.7× · v0.1.12026-10-16 · 2.1× · v0.1.12026-10-17 · 2.2× · v0.1.12026-10-17 · 2.0× · v0.1.12026-10-18 · 2.1× · v0.1.12026-10-19 · 1.9× · v0.1.12026-10-20 · 1.8× · v0.1.12026-10-20 · 2.2× · v0.1.12026-11-08 · 2.1× · v0.1.12026-11-09 · 2.0× · v0.1.12026-11-10 · 1.9× · v0.1.12026-11-11 · 2.1× · v0.1.12026-11-14 · 2.1× · v0.1.12026-11-14 · 2.0× · v0.1.12026-11-14 · 2.0× · v0.1.12026-11-14 · 2.0× · v0.1.12026-11-14 · 1.9× · v0.1.12026-11-14 · 1.8× · v0.1.12026-11-15 · 1.9× · v0.1.12026-11-15 · 1.9× · v0.1.12026-11-16 · 2.0× · v0.1.12026-11-16 · 2.0× · v0.1.12026-11-17 · 1.8× · v0.1.12026-11-17 · 1.7× · v0.1.12026-11-18 · 1.6× · v0.1.12026-11-18 · 2.1× · v0.1.12026-11-19 · 2.0× · v0.1.12026-11-20 · 2.2× · 0.1.1 → 0.2.02026-07-23 · 9.9× · v5.2.12026-07-23 · 9.7× · v5.2.12026-07-23 · 10.0× · v5.2.12026-07-23 · 9.0× · v5.2.12026-07-23 · 9.3× · v5.2.12026-07-23 · 8.9× · v5.2.12026-07-24 · 10× · v5.2.12026-07-24 · 9.7× · v5.2.12026-07-25 · 9.8× · v5.2.12026-07-25 · 8.9× · v5.2.12026-07-28 · 9.7× · v5.2.12026-08-01 · 9.8× · v5.2.12026-08-10 · 9.3× · v5.2.12026-10-08 · 9.7× · v5.2.12026-10-08 · 8.8× · v5.2.12026-10-08 · 9.3× · v5.2.12026-10-08 · 9.9× · v5.2.12026-10-08 · 9.9× · v5.2.12026-10-08 · 10× · v5.2.12026-10-09 · 9.7× · v5.2.12026-10-09 · 9.9× · v5.2.12026-10-11 · 9.7× · v5.2.12026-10-11 · 9.6× · 5.2.1 → 5.4.32026-10-12 · 10× · v5.4.32026-10-12 · 10× · v5.4.32026-10-13 · 8.9× · v5.4.32026-10-13 · 10× · v5.4.32026-10-14 · 10× · v5.4.32026-10-15 · 10× · v5.4.32026-10-15 · 10× · v5.4.32026-10-16 · 9.4× · v5.4.32026-10-16 · 9.7× · v5.4.32026-10-17 · 10× · v5.4.32026-10-17 · 9.7× · v5.4.32026-10-18 · 10.0× · v5.4.32026-10-19 · 9.9× · v5.4.32026-10-20 · 9.5× · v5.4.32026-10-20 · 10× · v5.4.32026-11-08 · 9.8× · v5.4.32026-11-09 · 9.1× · v5.4.32026-11-10 · 9.1× · v5.4.32026-11-11 · 10× · v5.4.32026-11-14 · 10× · v5.4.32026-11-14 · 9.2× · v5.4.32026-11-14 · 8.8× · v5.4.32026-11-14 · 10× · v5.4.32026-11-14 · 9.3× · v5.4.32026-11-14 · 9.2× · v5.4.32026-11-15 · 9.3× · v5.4.32026-11-15 · 9.6× · v5.4.32026-11-16 · 9.2× · v5.4.32026-11-16 · 8.9× · v5.4.32026-11-17 · 9.7× · v5.4.32026-11-17 · 8.9× · v5.4.32026-11-18 · 10× · v5.4.32026-11-18 · 10× · v5.4.32026-11-19 · 9.1× · v5.4.32026-11-20 · 9.4× · v5.4.32026-07-23 · 119× · v2.9.02026-07-23 · 120× · v2.9.02026-07-23 · 140× · v2.9.02026-07-23 · 106× · v2.9.02026-07-23 · 108× · v2.9.02026-07-23 · 107× · v2.9.02026-07-24 · 113× · v2.9.02026-07-24 · 123× · v2.9.02026-07-25 · 116× · v2.9.02026-07-25 · 107× · v2.9.02026-07-28 · 115× · v2.9.02026-08-01 · 130× · v2.9.02026-08-10 · 107× · v2.9.02026-10-08 · 118× · v2.9.02026-10-08 · 131× · v2.9.02026-10-08 · 106× · v2.9.02026-10-08 · 112× · v2.9.02026-10-08 · 115× · v2.9.02026-10-08 · 120× · v2.9.02026-10-09 · 133× · v2.9.02026-10-09 · 118× · v2.9.02026-10-11 · 112× · v2.9.02026-10-11 · 112× · v2.9.02026-10-12 · 115× · v2.9.02026-10-12 · 114× · v2.9.02026-10-13 · 102× · v2.9.02026-10-13 · 114× · v2.9.02026-10-14 · 109× · v2.9.02026-10-15 · 117× · v2.9.02026-10-15 · 112× · v2.9.02026-10-16 · 132× · v2.9.02026-10-16 · 106× · v2.9.02026-10-17 · 114× · v2.9.02026-10-17 · 123× · v2.9.02026-10-18 · 111× · v2.9.02026-10-19 · 126× · v2.9.02026-10-20 · 142× · v2.9.02026-10-20 · 126× · v2.9.02026-11-08 · 124× · v2.9.02026-11-09 · 106× · v2.9.02026-11-10 · 138× · v2.9.02026-11-11 · 140× · v2.9.02026-11-14 · 122× · v2.9.02026-11-14 · 107× · v2.9.02026-11-14 · 98× · v2.9.02026-11-14 · 127× · v2.9.02026-11-14 · 149× · v2.9.02026-11-14 · 145× · v2.9.02026-11-15 · 106× · v2.9.02026-11-15 · 150× · v2.9.02026-11-16 · 107× · v2.9.02026-11-16 · 97× · v2.9.02026-11-17 · 120× · v2.9.02026-11-17 · 106× · v2.9.02026-11-18 · 142× · v2.9.02026-11-18 · 133× · v2.9.02026-11-19 · 106× · v2.9.02026-11-20 · 138× · v2.9.0

Full breakdown — every workload, avg ns per parse() call (— where a library can’t read that workload):

WorkloadJSONLightning YAML 0.2.0js-yaml 5.4.3yaml (eemeli) 2.9.0
JSON-shaped (records & nested)
small-records2.60 µs6.06 µs23.1 µs271 µs
medium-records304 µs587 µs2.24 ms34.1 ms
large-records3.43 ms6.58 ms32.5 ms409 ms
xlarge-records36.9 ms73.9 ms361 ms3.79 s
medium-nested598 µs1.01 ms3.91 ms54.5 ms
large-nested4.53 ms7.40 ms33.2 ms404 ms
Plain block YAML
yaml-plain-small-records—7.33 µs23.5 µs301 µs
yaml-plain-medium-records—830 µs2.76 ms43.1 ms
yaml-plain-large-records—8.56 ms33.7 ms445 ms
yaml-plain-medium-nested—446 µs1.24 ms15.6 ms
Rich YAML (anchors + !!binary)
yaml-rich-small—11.8 µs35.5 µs393 µs
yaml-rich-medium—921 µs2.69 ms31.7 ms
yaml-rich-large—8.77 ms27.9 ms451 ms
WorkloadJSONLightning YAML 0.2.0js-yaml 5.4.3yaml (eemeli) 2.9.0
JSON-shaped (records & nested)
small-records1.86 µs6.42 µs20.2 µs194 µs
medium-records208 µs604 µs1.96 ms22.8 ms
large-records2.62 ms6.90 ms27.0 ms265 ms
medium-nested415 µs1.14 ms3.28 ms34.6 ms
large-nested3.26 ms8.29 ms27.2 ms252 ms
Plain block YAML
yaml-plain-small-records—8.49 µs22.4 µs230 µs
yaml-plain-medium-records—1.09 ms2.47 ms27.7 ms
yaml-plain-large-records—10.2 ms31.6 ms283 ms
yaml-plain-medium-nested—546 µs1.34 ms10.5 ms
Rich YAML (anchors + !!binary)
yaml-rich-small—15.1 µs36.1 µs322 µs
yaml-rich-medium—1.11 ms2.59 ms23.0 ms
yaml-rich-large—10.7 ms27.9 ms328 ms
WorkloadJSONLightning YAML 0.2.0js-yaml 5.4.3yaml (eemeli) 2.9.0
JSON-shaped (records & nested)
small-records2.14 µs5.23 µs22.3 µs320 µs
medium-records242 µs466 µs2.06 ms25.9 ms
large-records2.64 ms5.68 ms24.9 ms365 ms
medium-nested338 µs839 µs3.62 ms36.7 ms
large-nested2.39 ms5.93 ms26.5 ms360 ms
Plain block YAML
yaml-plain-small-records—6.58 µs24.2 µs219 µs
yaml-plain-medium-records—715 µs3.05 ms29.6 ms
yaml-plain-large-records—7.24 ms31.3 ms402 ms
yaml-plain-medium-nested—358 µs1.31 ms11.2 ms
Rich YAML (anchors + !!binary)
yaml-rich-small—10.7 µs40.6 µs358 µs
yaml-rich-medium—760 µs2.75 ms26.3 ms
yaml-rich-large—7.28 ms28.8 ms358 ms

Measured on AMD EPYC 9V45 96-Core Processor (unknown) · node 24.22.2 (x64-linux) · generated 2026-11-20 · source ddd0913d7022fad0cdb43dd5c71f6f3d0e9d4f03

Peak memory by workload (parse)

Lower is better. Whole-process peak resident set (process.resourceUsage().maxRSS) in isolated child processes, fixed at 25 iterations. Each workload is scaled to its own heaviest parser.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • yaml (eemeli) 2.9.0
Peak memory by workload (parse, resident set size)Peak memory by workload (parse, resident set size) — lower is better. Each workload is scaled to its own slowest parser, so bar length is proportional to memory within a row; rows are not comparable to each other, and every bar is labelled with its exact value. Series: JSON, Lightning YAML 0.2.0, js-yaml 5.4.3, yaml (eemeli) 2.9.0. 5 workloads: small-records, medium-records, large-records, xlarge-records, yaml-rich-medium.93.0 MB77.8 MB76.6 MB81.1 MBsmall-records78.2 MB81.7 MB92.4 MB279 MBmedium-records99.6 MB147 MB402 MB653 MBlarge-records391 MB538 MB1220 MB2698 MBxlarge-records84.3 MB90.1 MB274 MByaml-rich-medium

Peak memory, run over run — xlarge-records

Lower is better. Absolute peak resident set size (MB) — peak RSS is the stable memory figure, so unlike speed it is shown absolute. One document per published run, oldest to newest.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • yaml (eemeli) 2.9.0
Peak memory over time — xlarge-recordsPeak memory over time — xlarge-records — lower is better. Trend across 96 benchmark runs, oldest to newest; latest values: JSON 391 MB, Lightning YAML 0.2.0 538 MB, js-yaml 5.4.3 1220 MB, yaml (eemeli) 2.9.0 2698 MB.0.00 MB1250 MB2500 MB3750 MB5000 MB2026-07-132026-07-222026-10-132026-11-202026-07-13 · 284 MB2026-07-15 · 272 MB2026-07-15 · 279 MB2026-07-16 · 270 MB2026-07-16 · 268 MB2026-07-16 · 271 MB2026-07-16 · 277 MB2026-07-18 · 272 MB2026-07-18 · 274 MB2026-07-18 · 271 MB2026-07-19 · 275 MB2026-07-19 · 271 MB2026-07-20 · 267 MB2026-07-20 · 270 MB2026-07-20 · 272 MB2026-07-20 · 275 MB2026-07-20 · 270 MB2026-07-20 · 271 MB2026-07-20 · 275 MB2026-07-20 · 273 MB2026-07-20 · 271 MB2026-07-20 · 269 MB2026-07-21 · 265 MB2026-07-21 · 274 MB2026-07-21 · 270 MB2026-07-21 · 270 MB2026-07-21 · 270 MB2026-07-21 · 271 MB2026-07-22 · 268 MB2026-07-22 · 273 MB2026-07-22 · 388 MB2026-07-22 · 389 MB2026-07-22 · 388 MB2026-07-22 · 390 MB2026-07-22 · 389 MB2026-07-22 · 388 MB2026-07-22 · 388 MB2026-07-23 · 389 MB2026-07-23 · 390 MB2026-07-23 · 388 MB2026-07-23 · 389 MB2026-07-23 · 389 MB2026-07-23 · 389 MB2026-07-24 · 390 MB2026-07-24 · 389 MB2026-07-25 · 389 MB2026-07-25 · 389 MB2026-07-28 · 390 MB2026-08-01 · 389 MB2026-08-10 · 389 MB2026-10-08 · 390 MB2026-10-08 · 391 MB2026-10-08 · 390 MB2026-10-08 · 390 MB2026-10-08 · 390 MB2026-10-08 · 389 MB2026-10-09 · 390 MB2026-10-09 · 390 MB2026-10-11 · 389 MB2026-10-11 · 390 MB2026-10-12 · 390 MB2026-10-12 · 390 MB2026-10-13 · 390 MB2026-10-13 · 391 MB2026-10-14 · 390 MB2026-10-15 · 391 MB2026-10-15 · 390 MB2026-10-16 · 390 MB2026-10-16 · 391 MB2026-10-17 · 390 MB2026-10-17 · 389 MB2026-10-18 · 389 MB2026-10-19 · 391 MB2026-10-20 · 389 MB2026-10-20 · 389 MB2026-11-08 · 390 MB2026-11-08 · 390 MB2026-11-09 · 391 MB2026-11-10 · 389 MB2026-11-11 · 390 MB2026-11-13 · 390 MB2026-11-14 · 391 MB2026-11-14 · 390 MB2026-11-14 · 390 MB2026-11-14 · 390 MB2026-11-14 · 389 MB2026-11-15 · 389 MB2026-11-15 · 390 MB2026-11-16 · 390 MB2026-11-16 · 390 MB2026-11-17 · 390 MB2026-11-17 · 389 MB2026-11-18 · 390 MB2026-11-18 · 389 MB2026-11-19 · 390 MB2026-11-20 · 391 MB2026-07-13 · 369 MB2026-07-15 · 389 MB2026-07-15 · 394 MB2026-07-16 · 389 MB2026-07-16 · 388 MB2026-07-16 · 415 MB2026-07-16 · 385 MB2026-07-18 · 387 MB2026-07-18 · 386 MB2026-07-18 · 383 MB2026-07-19 · 387 MB2026-07-19 · 412 MB2026-07-20 · 419 MB2026-07-20 · 418 MB2026-07-20 · 384 MB2026-07-20 · 387 MB2026-07-20 · 351 MB2026-07-20 · 412 MB2026-07-20 · 385 MB2026-07-20 · 389 MB2026-07-20 · 381 MB · v0.1.12026-07-20 · 384 MB · v0.1.12026-07-21 · 384 MB · v0.1.12026-07-21 · 386 MB · v0.1.12026-07-21 · 389 MB · v0.1.12026-07-21 · 383 MB · v0.1.12026-07-21 · 383 MB · v0.1.12026-07-21 · 386 MB · v0.1.12026-07-22 · 388 MB · v0.1.12026-07-22 · 387 MB · v0.1.12026-07-22 · 535 MB · v0.1.12026-07-22 · 535 MB · v0.1.12026-07-22 · 531 MB · v0.1.12026-07-22 · 531 MB · v0.1.12026-07-22 · 534 MB · v0.1.12026-07-22 · 532 MB · v0.1.12026-07-22 · 537 MB · v0.1.12026-07-23 · 536 MB · v0.1.12026-07-23 · 566 MB · v0.1.12026-07-23 · 529 MB · v0.1.12026-07-23 · 535 MB · v0.1.12026-07-23 · 536 MB · v0.1.12026-07-23 · 536 MB · v0.1.12026-07-24 · 535 MB · v0.1.12026-07-24 · 531 MB · v0.1.12026-07-25 · 568 MB · v0.1.12026-07-25 · 532 MB · v0.1.12026-07-28 · 533 MB · v0.1.12026-08-01 · 531 MB · v0.1.12026-08-10 · 535 MB · v0.1.12026-10-08 · 566 MB · v0.1.12026-10-08 · 566 MB · v0.1.12026-10-08 · 567 MB · v0.1.12026-10-08 · 533 MB · v0.1.12026-10-08 · 567 MB · v0.1.12026-10-08 · 532 MB · v0.1.12026-10-09 · 527 MB · v0.1.12026-10-09 · 566 MB · v0.1.12026-10-11 · 532 MB · v0.1.12026-10-11 · 568 MB · v0.1.12026-10-12 · 567 MB · v0.1.12026-10-12 · 500 MB · v0.1.12026-10-13 · 568 MB · v0.1.12026-10-13 · 567 MB · v0.1.12026-10-14 · 533 MB · v0.1.12026-10-15 · 568 MB · v0.1.12026-10-15 · 567 MB · v0.1.12026-10-16 · 568 MB · v0.1.12026-10-16 · 537 MB · v0.1.12026-10-17 · 566 MB · v0.1.12026-10-17 · 538 MB · v0.1.12026-10-18 · 499 MB · v0.1.12026-10-19 · 567 MB · v0.1.12026-10-20 · 568 MB · v0.1.12026-10-20 · 536 MB · v0.1.12026-11-08 · 534 MB · v0.1.12026-11-08 · 533 MB · v0.1.12026-11-09 · 532 MB · v0.1.12026-11-10 · 537 MB · v0.1.12026-11-11 · 534 MB · v0.1.12026-11-13 · 533 MB · v0.1.12026-11-14 · 496 MB · v0.1.12026-11-14 · 534 MB · v0.1.12026-11-14 · 568 MB · v0.1.12026-11-14 · 537 MB · v0.1.12026-11-14 · 538 MB · v0.1.12026-11-15 · 531 MB · v0.1.12026-11-15 · 535 MB · v0.1.12026-11-16 · 537 MB · v0.1.12026-11-16 · 537 MB · v0.1.12026-11-17 · 535 MB · v0.1.12026-11-17 · 533 MB · v0.1.12026-11-18 · 467 MB · v0.1.12026-11-18 · 536 MB · v0.1.12026-11-19 · 567 MB · v0.1.12026-11-20 · 538 MB · 0.1.1 → 0.2.02026-07-13 · 975 MB2026-07-15 · 970 MB2026-07-15 · 974 MB2026-07-16 · 976 MB2026-07-16 · 973 MB2026-07-16 · 934 MB2026-07-16 · 964 MB2026-07-18 · 835 MB2026-07-18 · 976 MB2026-07-18 · 977 MB2026-07-19 · 958 MB2026-07-19 · 1030 MB2026-07-20 · 977 MB2026-07-20 · 838 MB2026-07-20 · 990 MB2026-07-20 · 1036 MB2026-07-20 · 1019 MB2026-07-20 · 1008 MB2026-07-20 · 881 MB2026-07-20 · 976 MB2026-07-20 · 960 MB · v5.2.12026-07-20 · 971 MB · v5.2.12026-07-21 · 1036 MB · v5.2.12026-07-21 · 970 MB · v5.2.12026-07-21 · 938 MB · v5.2.12026-07-21 · 1017 MB · v5.2.12026-07-21 · 1017 MB · v5.2.12026-07-21 · 988 MB · v5.2.12026-07-22 · 1032 MB · v5.2.12026-07-22 · 1043 MB · v5.2.12026-07-22 · 949 MB · v5.2.12026-07-22 · 1106 MB · v5.2.12026-07-22 · 1168 MB · v5.2.12026-07-22 · 1161 MB · v5.2.12026-07-22 · 1120 MB · v5.2.12026-07-22 · 1167 MB · v5.2.12026-07-22 · 1150 MB · v5.2.12026-07-23 · 1138 MB · v5.2.12026-07-23 · 1125 MB · v5.2.12026-07-23 · 1165 MB · v5.2.12026-07-23 · 1124 MB · v5.2.12026-07-23 · 1119 MB · v5.2.12026-07-23 · 1136 MB · v5.2.12026-07-24 · 1115 MB · v5.2.12026-07-24 · 1121 MB · v5.2.12026-07-25 · 1084 MB · v5.2.12026-07-25 · 1137 MB · v5.2.12026-07-28 · 1131 MB · v5.2.12026-08-01 · 1095 MB · v5.2.12026-08-10 · 1106 MB · v5.2.12026-10-08 · 1116 MB · v5.2.12026-10-08 · 1090 MB · v5.2.12026-10-08 · 1126 MB · v5.2.12026-10-08 · 1110 MB · v5.2.12026-10-08 · 1108 MB · v5.2.12026-10-08 · 1090 MB · v5.2.12026-10-09 · 1144 MB · v5.2.12026-10-09 · 1085 MB · v5.2.12026-10-11 · 1083 MB · v5.2.12026-10-11 · 1114 MB · 5.2.1 → 5.4.32026-10-12 · 986 MB · v5.4.32026-10-12 · 1148 MB · v5.4.32026-10-13 · 1118 MB · v5.4.32026-10-13 · 1124 MB · v5.4.32026-10-14 · 1197 MB · v5.4.32026-10-15 · 1115 MB · v5.4.32026-10-15 · 1212 MB · v5.4.32026-10-16 · 1149 MB · v5.4.32026-10-16 · 1140 MB · v5.4.32026-10-17 · 1170 MB · v5.4.32026-10-17 · 1137 MB · v5.4.32026-10-18 · 1088 MB · v5.4.32026-10-19 · 1158 MB · v5.4.32026-10-20 · 1121 MB · v5.4.32026-10-20 · 1180 MB · v5.4.32026-11-08 · 1195 MB · v5.4.32026-11-08 · 1200 MB · v5.4.32026-11-09 · 1137 MB · v5.4.32026-11-10 · 1095 MB · v5.4.32026-11-11 · 1201 MB · v5.4.32026-11-13 · 1166 MB · v5.4.32026-11-14 · 1177 MB · v5.4.32026-11-14 · 1167 MB · v5.4.32026-11-14 · 1156 MB · v5.4.32026-11-14 · 1086 MB · v5.4.32026-11-14 · 1102 MB · v5.4.32026-11-15 · 1150 MB · v5.4.32026-11-15 · 1107 MB · v5.4.32026-11-16 · 1002 MB · v5.4.32026-11-16 · 1097 MB · v5.4.32026-11-17 · 1200 MB · v5.4.32026-11-17 · 1120 MB · v5.4.32026-11-18 · 1212 MB · v5.4.32026-11-18 · 1201 MB · v5.4.32026-11-19 · 1086 MB · v5.4.32026-11-20 · 1220 MB · v5.4.32026-07-13 · 2744 MB2026-07-15 · 1410 MB2026-07-15 · 1415 MB2026-07-16 · 1415 MB2026-07-16 · 1411 MB2026-07-16 · 1406 MB2026-07-16 · 1409 MB2026-07-18 · 1414 MB2026-07-18 · 1411 MB2026-07-18 · 1410 MB2026-07-19 · 1411 MB2026-07-19 · 1407 MB2026-07-20 · 1411 MB2026-07-20 · 1412 MB2026-07-20 · 1414 MB2026-07-20 · 1410 MB2026-07-20 · 1409 MB2026-07-20 · 1409 MB2026-07-20 · 2603 MB2026-07-20 · 2596 MB2026-07-20 · 2601 MB · v2.9.02026-07-20 · 2600 MB · v2.9.02026-07-21 · 2602 MB · v2.9.02026-07-21 · 2604 MB · v2.9.02026-07-21 · 2548 MB · v2.9.02026-07-21 · 2591 MB · v2.9.02026-07-21 · 2549 MB · v2.9.02026-07-21 · 2603 MB · v2.9.02026-07-22 · 2572 MB · v2.9.02026-07-22 · 2547 MB · v2.9.02026-07-22 · 2703 MB · v2.9.02026-07-22 · 2644 MB · v2.9.02026-07-22 · 2646 MB · v2.9.02026-07-22 · 2703 MB · v2.9.02026-07-22 · 2647 MB · v2.9.02026-07-22 · 2665 MB · v2.9.02026-07-22 · 2700 MB · v2.9.02026-07-23 · 2640 MB · v2.9.02026-07-23 · 2658 MB · v2.9.02026-07-23 · 2675 MB · v2.9.02026-07-23 · 2699 MB · v2.9.02026-07-23 · 2645 MB · v2.9.02026-07-23 · 2697 MB · v2.9.02026-07-24 · 2647 MB · v2.9.02026-07-24 · 2703 MB · v2.9.02026-07-25 · 2708 MB · v2.9.02026-07-25 · 2707 MB · v2.9.02026-07-28 · 2703 MB · v2.9.02026-08-01 · 2704 MB · v2.9.02026-08-10 · 2676 MB · v2.9.02026-10-08 · 2641 MB · v2.9.02026-10-08 · 2686 MB · v2.9.02026-10-08 · 2647 MB · v2.9.02026-10-08 · 2699 MB · v2.9.02026-10-08 · 2698 MB · v2.9.02026-10-08 · 2645 MB · v2.9.02026-10-09 · 2700 MB · v2.9.02026-10-09 · 2665 MB · v2.9.02026-10-11 · 2646 MB · v2.9.02026-10-11 · 2697 MB · v2.9.02026-10-12 · 2645 MB · v2.9.02026-10-12 · 2640 MB · v2.9.02026-10-13 · 2711 MB · v2.9.02026-10-13 · 2711 MB · v2.9.02026-10-14 · 2706 MB · v2.9.02026-10-15 · 2702 MB · v2.9.02026-10-15 · 2702 MB · v2.9.02026-10-16 · 2706 MB · v2.9.02026-10-16 · 2662 MB · v2.9.02026-10-17 · 2646 MB · v2.9.02026-10-17 · 2630 MB · v2.9.02026-10-18 · 2677 MB · v2.9.02026-10-19 · 2626 MB · v2.9.02026-10-20 · 2706 MB · v2.9.02026-10-20 · 2646 MB · v2.9.02026-11-08 · 2709 MB · v2.9.02026-11-08 · 2631 MB · v2.9.02026-11-09 · 2706 MB · v2.9.02026-11-10 · 2700 MB · v2.9.02026-11-11 · 2707 MB · v2.9.02026-11-13 · 2633 MB · v2.9.02026-11-14 · 2696 MB · v2.9.02026-11-14 · 2702 MB · v2.9.02026-11-14 · 2700 MB · v2.9.02026-11-14 · 2695 MB · v2.9.02026-11-14 · 2679 MB · v2.9.02026-11-15 · 2700 MB · v2.9.02026-11-15 · 2702 MB · v2.9.02026-11-16 · 2706 MB · v2.9.02026-11-16 · 2710 MB · v2.9.02026-11-17 · 2633 MB · v2.9.02026-11-17 · 2683 MB · v2.9.02026-11-18 · 2706 MB · v2.9.02026-11-18 · 2703 MB · v2.9.02026-11-19 · 2639 MB · v2.9.02026-11-20 · 2698 MB · v2.9.0

Full breakdown — every workload, peak RSS (MB):

WorkloadJSONLightning YAML 0.2.0js-yaml 5.4.3yaml (eemeli) 2.9.0
JSON-shaped (records & nested)
small-records93.0 MB77.8 MB76.6 MB81.1 MB
medium-records78.2 MB81.7 MB92.4 MB279 MB
large-records99.6 MB147 MB402 MB653 MB
xlarge-records391 MB538 MB1220 MB2698 MB
medium-nested78.8 MB82.0 MB144 MB309 MB
large-nested101 MB121 MB399 MB613 MB
Plain block YAML
yaml-plain-small-records—77.0 MB78.4 MB80.7 MB
yaml-plain-medium-records—84.8 MB91.3 MB280 MB
yaml-plain-large-records—126 MB369 MB592 MB
yaml-plain-medium-nested—82.2 MB90.0 MB174 MB
Rich YAML (anchors + !!binary)
yaml-rich-small—77.4 MB77.1 MB82.5 MB
yaml-rich-medium—84.3 MB90.1 MB274 MB
yaml-rich-large—111 MB320 MB420 MB

The chart above measures Node; a browser page can’t read its own process’s memory the same way, so this is a separate, ratio-only measurement taken inside real browser engines — always relative to Lightning YAML (1.0×), never absolute megabytes. Two methods that ask different questions, so they are not comparable to each other or to the Node figures above:

  • Chrome’s engine (Chromium) — how much of the page’s own JS heap the parsed results still hold, measured in-page and garbage-collected before each reading. This is the narrower question: it counts what the result retains, and is blind to memory the parse allocated and handed straight back.
  • Safari’s engine (WebKit) — the operating system’s peak memory reading for the browser’s page process across the same parse-and-keep step. Broader, and noisier: it does catch memory spent during the parse, but also engine overhead that has nothing to do with the parser. The two smallest workloads are omitted for WebKit because fixed process costs dominate them.

Read the Chromium table below expecting a tie on the bigger files, because that is what the narrower question is bound to answer: past a certain size the bytes still held are the parsed values themselves, and all three parsers build the same values from the same document. Where these libraries genuinely differ is the memory spent during the parse — the Node chart above.

Chrome's engine · memory retained by the parsed result

Measured in chromium 141.0.7390.37 (x64-linux) · generated 2026-11-20 · source ddd0913d7022fad0cdb43dd5c71f6f3d0e9d4f03

WorkloadLightning YAML 0.2.0js-yaml 5.4.3yaml (eemeli) 2.9.0
Plain block YAML
yaml-plain-small-records1.0×1.0×1.2×
yaml-plain-medium-records1.0×1.0×1.0×
yaml-plain-large-records1.0×1.0×1.0×
Rich YAML (anchors + !!binary)
yaml-rich-small1.0×0.9×1.7×
yaml-rich-medium1.0×1.0×1.0×
yaml-rich-large1.0×1.0×1.0×

Safari's engine (WebKit) · peak memory of the page process

Measured in webkit 26.0 (x64-linux) · generated 2026-11-20 · source ddd0913d7022fad0cdb43dd5c71f6f3d0e9d4f03

WorkloadLightning YAML 0.2.0js-yaml 5.4.3yaml (eemeli) 2.9.0
Plain block YAML
yaml-plain-medium-records1.0×2.1×3.1×
yaml-plain-large-records1.0×3.1×4.2×
Rich YAML (anchors + !!binary)
yaml-rich-medium1.0×1.5×3.0×
yaml-rich-large1.0×2.0×3.7×

Serializing JavaScript values back to YAML text.

Measured on AMD EPYC 9V45 96-Core Processor (~4.16 GHz) · node 24.22.2 (x64-linux) · generated 2026-11-20 · source ddd0913d7022fad0cdb43dd5c71f6f3d0e9d4f03

Measured in chromium 141.0.7390.37 (x64-linux) · generated 2026-11-20 · source ddd0913d7022fad0cdb43dd5c71f6f3d0e9d4f03

Measured in webkit 26.0 (x64-linux) · generated 2026-11-20 · source ddd0913d7022fad0cdb43dd5c71f6f3d0e9d4f03

Stringify time by workload

Lower is better. Each workload is scaled to its own slowest dumper; labels show time relative to the fastest in that row (×). Exact avg ns per stringify() call is in the breakdown below.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • js-yaml (tuned) 5.4.3
  • yaml (eemeli) 2.9.0
Stringify time by workload (relative to fastest, per row)Stringify time by workload (relative to fastest, per row) — lower is better. Each workload is scaled to its own slowest parser, so bar length is proportional to time within a row; rows are not comparable to each other, and every bar is labelled with its time relative to the fastest parser in that row (×). Series: JSON, Lightning YAML 0.2.0, js-yaml 5.4.3, js-yaml (tuned) 5.4.3, yaml (eemeli) 2.9.0. 5 workloads: small-records, medium-records, large-records, xlarge-records, yaml-rich-medium.1.0×2.9×30×23×72×small-records1.0×2.5×26×21×61×medium-records1.0×3.5×29×24×63×large-records1.0×5.3×30×25×63×xlarge-records1.0×5.6×22×yaml-rich-medium

Stringify time by workload

Lower is better. Each workload is scaled to its own slowest dumper; labels show time relative to the fastest in that row (×). Exact avg ns per stringify() call is in the breakdown below.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • js-yaml (tuned) 5.4.3
  • yaml (eemeli) 2.9.0
Stringify time by workload (relative to fastest, per row)Stringify time by workload (relative to fastest, per row) — lower is better. Each workload is scaled to its own slowest parser, so bar length is proportional to time within a row; rows are not comparable to each other, and every bar is labelled with its time relative to the fastest parser in that row (×). Series: JSON, Lightning YAML 0.2.0, js-yaml 5.4.3, js-yaml (tuned) 5.4.3, yaml (eemeli) 2.9.0. 4 workloads: small-records, medium-records, large-records, yaml-rich-medium.1.0×5.7×55×43×143×small-records1.0×5.9×56×44×133×medium-records1.0×4.1×34×29×79×large-records1.0×5.4×22×yaml-rich-medium

Stringify time by workload

Lower is better. Each workload is scaled to its own slowest dumper; labels show time relative to the fastest in that row (×). Exact avg ns per stringify() call is in the breakdown below.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • js-yaml (tuned) 5.4.3
  • yaml (eemeli) 2.9.0
Stringify time by workload (relative to fastest, per row)Stringify time by workload (relative to fastest, per row) — lower is better. Each workload is scaled to its own slowest parser, so bar length is proportional to time within a row; rows are not comparable to each other, and every bar is labelled with its time relative to the fastest parser in that row (×). Series: JSON, Lightning YAML 0.2.0, js-yaml 5.4.3, js-yaml (tuned) 5.4.3, yaml (eemeli) 2.9.0. 4 workloads: small-records, medium-records, large-records, yaml-rich-medium.1.0×6.7×325×300×161×small-records1.0×6.7×378×366×176×medium-records1.0×7.4×365×349×179×large-records1.0×54×30×yaml-rich-medium

The js-yaml (tuned) series is the same library dumping with the lean CORE schema instead of its heavyweight default (YAML 1.1 plus timestamp/binary/omap/set). On JSON-shaped data that runs faster and round-trips identically — so it, not the default, is the fair yardstick for how fast js-yaml can stringify this data. It appears only where the data is JSON-shaped; the rich workloads genuinely need the full schema, where the “tuned” config would be identical to the default.

Stringify time vs fastest, run over run — large-records

Lower is better, log scale. Each dumper's time as a multiple of the fastest in the same run (×) — machine-invariant. The fastest sits at 1× by construction; a rising Lightning YAML line would mean a regression.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • js-yaml (tuned) 5.4.3
  • yaml (eemeli) 2.9.0
Stringify time vs fastest over time — large-recordsStringify time vs fastest over time — large-records — lower is better. Trend across 96 benchmark runs, oldest to newest; latest values: JSON 1.0×, Lightning YAML 0.2.0 3.5×, js-yaml 5.4.3 29×, js-yaml (tuned) 5.4.3 24×, yaml (eemeli) 2.9.0 63×.1.0×3.0×10×30×2026-07-132026-07-222026-10-132026-11-202026-07-13 · 1.0×2026-07-15 · 1.0×2026-07-15 · 1.0×2026-07-16 · 1.0×2026-07-16 · 1.0×2026-07-16 · 1.0×2026-07-16 · 1.0×2026-07-18 · 1.0×2026-07-18 · 1.0×2026-07-18 · 1.0×2026-07-19 · 1.0×2026-07-19 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-20 · 1.0×2026-07-21 · 1.0×2026-07-21 · 1.0×2026-07-21 · 1.0×2026-07-21 · 1.0×2026-07-21 · 1.0×2026-07-21 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-22 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-24 · 1.0×2026-07-24 · 1.0×2026-07-25 · 1.0×2026-07-25 · 1.0×2026-07-28 · 1.0×2026-08-01 · 1.0×2026-08-10 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-09 · 1.0×2026-10-09 · 1.0×2026-10-11 · 1.0×2026-10-11 · 1.0×2026-10-12 · 1.0×2026-10-12 · 1.0×2026-10-13 · 1.0×2026-10-13 · 1.0×2026-10-14 · 1.0×2026-10-15 · 1.0×2026-10-15 · 1.0×2026-10-16 · 1.0×2026-10-16 · 1.0×2026-10-17 · 1.0×2026-10-17 · 1.0×2026-10-18 · 1.0×2026-10-19 · 1.0×2026-10-20 · 1.0×2026-10-20 · 1.0×2026-11-08 · 1.0×2026-11-08 · 1.0×2026-11-09 · 1.0×2026-11-10 · 1.0×2026-11-11 · 1.0×2026-11-13 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-15 · 1.0×2026-11-15 · 1.0×2026-11-16 · 1.0×2026-11-16 · 1.0×2026-11-17 · 1.0×2026-11-17 · 1.0×2026-11-18 · 1.0×2026-11-18 · 1.0×2026-11-19 · 1.0×2026-11-20 · 1.0×2026-07-13 · 4.8×2026-07-15 · 3.5×2026-07-15 · 3.3×2026-07-16 · 3.8×2026-07-16 · 3.2×2026-07-16 · 3.5×2026-07-16 · 3.1×2026-07-18 · 3.3×2026-07-18 · 3.4×2026-07-18 · 3.2×2026-07-19 · 3.2×2026-07-19 · 3.1×2026-07-20 · 3.6×2026-07-20 · 3.5×2026-07-20 · 3.3×2026-07-20 · 3.2×2026-07-20 · 3.3×2026-07-20 · 3.5×2026-07-20 · 3.5×2026-07-20 · 3.1×2026-07-20 · 3.3× · v0.1.12026-07-20 · 3.1× · v0.1.12026-07-21 · 3.2× · v0.1.12026-07-21 · 3.1× · v0.1.12026-07-21 · 3.2× · v0.1.12026-07-21 · 3.1× · v0.1.12026-07-21 · 3.1× · v0.1.12026-07-21 · 3.3× · v0.1.12026-07-22 · 3.2× · v0.1.12026-07-22 · 3.0× · v0.1.12026-07-22 · 3.3× · v0.1.12026-07-22 · 3.3× · v0.1.12026-07-22 · 3.3× · v0.1.12026-07-22 · 3.9× · v0.1.12026-07-22 · 3.8× · v0.1.12026-07-22 · 3.6× · v0.1.12026-07-22 · 3.7× · v0.1.12026-07-23 · 3.1× · v0.1.12026-07-23 · 3.7× · v0.1.12026-07-23 · 4.0× · v0.1.12026-07-23 · 4.0× · v0.1.12026-07-23 · 3.3× · v0.1.12026-07-23 · 4.2× · v0.1.12026-07-24 · 3.4× · v0.1.12026-07-24 · 3.8× · v0.1.12026-07-25 · 3.4× · v0.1.12026-07-25 · 4.3× · v0.1.12026-07-28 · 3.4× · v0.1.12026-08-01 · 3.7× · v0.1.12026-08-10 · 3.4× · v0.1.12026-10-08 · 3.6× · v0.1.12026-10-08 · 3.7× · v0.1.12026-10-08 · 3.5× · v0.1.12026-10-08 · 3.4× · v0.1.12026-10-08 · 3.4× · v0.1.12026-10-08 · 3.6× · v0.1.12026-10-09 · 3.6× · v0.1.12026-10-09 · 3.7× · v0.1.12026-10-11 · 3.4× · v0.1.12026-10-11 · 3.4× · v0.1.12026-10-12 · 3.5× · v0.1.12026-10-12 · 3.3× · v0.1.12026-10-13 · 4.3× · v0.1.12026-10-13 · 3.5× · v0.1.12026-10-14 · 3.4× · v0.1.12026-10-15 · 3.3× · v0.1.12026-10-15 · 3.4× · v0.1.12026-10-16 · 3.6× · v0.1.12026-10-16 · 3.2× · v0.1.12026-10-17 · 3.3× · v0.1.12026-10-17 · 3.6× · v0.1.12026-10-18 · 3.5× · v0.1.12026-10-19 · 3.6× · v0.1.12026-10-20 · 4.0× · v0.1.12026-10-20 · 3.4× · v0.1.12026-11-08 · 4.9× · v0.1.12026-11-08 · 3.6× · v0.1.12026-11-09 · 4.1× · v0.1.12026-11-10 · 3.5× · v0.1.12026-11-11 · 3.8× · v0.1.12026-11-13 · 3.5× · v0.1.12026-11-14 · 4.1× · v0.1.12026-11-14 · 4.1× · v0.1.12026-11-14 · 4.3× · v0.1.12026-11-14 · 3.8× · v0.1.12026-11-14 · 3.6× · v0.1.12026-11-15 · 4.3× · v0.1.12026-11-15 · 4.2× · v0.1.12026-11-16 · 4.2× · v0.1.12026-11-16 · 4.4× · v0.1.12026-11-17 · 3.2× · v0.1.12026-11-17 · 4.3× · v0.1.12026-11-18 · 3.5× · v0.1.12026-11-18 · 3.5× · v0.1.12026-11-19 · 4.2× · v0.1.12026-11-20 · 3.5× · 0.1.1 → 0.2.02026-07-13 · 27×2026-07-15 · 28×2026-07-15 · 28×2026-07-16 · 29×2026-07-16 · 27×2026-07-16 · 32×2026-07-16 · 27×2026-07-18 · 32×2026-07-18 · 29×2026-07-18 · 28×2026-07-19 · 27×2026-07-19 · 31×2026-07-20 · 30×2026-07-20 · 34×2026-07-20 · 33×2026-07-20 · 28×2026-07-20 · 27×2026-07-20 · 27×2026-07-20 · 26×2026-07-20 · 26×2026-07-20 · 29× · v5.2.12026-07-20 · 28× · v5.2.12026-07-21 · 27× · v5.2.12026-07-21 · 27× · v5.2.12026-07-21 · 29× · v5.2.12026-07-21 · 26× · v5.2.12026-07-21 · 26× · v5.2.12026-07-21 · 28× · v5.2.12026-07-22 · 27× · v5.2.12026-07-22 · 26× · v5.2.12026-07-22 · 28× · v5.2.12026-07-22 · 28× · v5.2.12026-07-22 · 27× · v5.2.12026-07-22 · 26× · v5.2.12026-07-22 · 29× · v5.2.12026-07-22 · 28× · v5.2.12026-07-22 · 30× · v5.2.12026-07-23 · 25× · v5.2.12026-07-23 · 30× · v5.2.12026-07-23 · 30× · v5.2.12026-07-23 · 26× · v5.2.12026-07-23 · 27× · v5.2.12026-07-23 · 22× · v5.2.12026-07-24 · 28× · v5.2.12026-07-24 · 30× · v5.2.12026-07-25 · 28× · v5.2.12026-07-25 · 28× · v5.2.12026-07-28 · 28× · v5.2.12026-08-01 · 31× · v5.2.12026-08-10 · 29× · v5.2.12026-10-08 · 29× · v5.2.12026-10-08 · 33× · v5.2.12026-10-08 · 28× · v5.2.12026-10-08 · 29× · v5.2.12026-10-08 · 28× · v5.2.12026-10-08 · 30× · v5.2.12026-10-09 · 30× · v5.2.12026-10-09 · 29× · v5.2.12026-10-11 · 28× · v5.2.12026-10-11 · 28× · 5.2.1 → 5.4.32026-10-12 · 29× · v5.4.32026-10-12 · 26× · v5.4.32026-10-13 · 25× · v5.4.32026-10-13 · 28× · v5.4.32026-10-14 · 29× · v5.4.32026-10-15 · 27× · v5.4.32026-10-15 · 28× · v5.4.32026-10-16 · 33× · v5.4.32026-10-16 · 25× · v5.4.32026-10-17 · 28× · v5.4.32026-10-17 · 30× · v5.4.32026-10-18 · 29× · v5.4.32026-10-19 · 27× · v5.4.32026-10-20 · 30× · v5.4.32026-10-20 · 27× · v5.4.32026-11-08 · 30× · v5.4.32026-11-08 · 28× · v5.4.32026-11-09 · 26× · v5.4.32026-11-10 · 34× · v5.4.32026-11-11 · 28× · v5.4.32026-11-13 · 26× · v5.4.32026-11-14 · 25× · v5.4.32026-11-14 · 24× · v5.4.32026-11-14 · 25× · v5.4.32026-11-14 · 34× · v5.4.32026-11-14 · 29× · v5.4.32026-11-15 · 27× · v5.4.32026-11-15 · 38× · v5.4.32026-11-16 · 25× · v5.4.32026-11-16 · 25× · v5.4.32026-11-17 · 26× · v5.4.32026-11-17 · 28× · v5.4.32026-11-18 · 31× · v5.4.32026-11-18 · 28× · v5.4.32026-11-19 · 25× · v5.4.32026-11-20 · 29× · v5.4.32026-07-16 · 22×2026-07-16 · 20×2026-07-16 · 25×2026-07-16 · 20×2026-07-18 · 26×2026-07-18 · 22×2026-07-18 · 22×2026-07-19 · 21×2026-07-19 · 25×2026-07-20 · 23×2026-07-20 · 27×2026-07-20 · 26×2026-07-20 · 21×2026-07-20 · 21×2026-07-20 · 22×2026-07-20 · 20×2026-07-20 · 20×2026-07-20 · 22× · v5.2.12026-07-20 · 22× · v5.2.12026-07-21 · 20× · v5.2.12026-07-21 · 20× · v5.2.12026-07-21 · 23× · v5.2.12026-07-21 · 20× · v5.2.12026-07-21 · 20× · v5.2.12026-07-21 · 22× · v5.2.12026-07-22 · 20× · v5.2.12026-07-22 · 19× · v5.2.12026-07-22 · 20× · v5.2.12026-07-22 · 19× · v5.2.12026-07-22 · 19× · v5.2.12026-07-22 · 19× · v5.2.12026-07-22 · 22× · v5.2.12026-07-22 · 20× · v5.2.12026-07-22 · 21× · v5.2.12026-07-23 · 19× · v5.2.12026-07-23 · 22× · v5.2.12026-07-23 · 22× · v5.2.12026-07-23 · 19× · v5.2.12026-07-23 · 20× · v5.2.12026-07-23 · 17× · v5.2.12026-07-24 · 21× · v5.2.12026-07-24 · 22× · v5.2.12026-07-25 · 20× · v5.2.12026-07-25 · 21× · v5.2.12026-07-28 · 20× · v5.2.12026-08-01 · 23× · v5.2.12026-08-10 · 20× · v5.2.12026-10-08 · 21× · v5.2.12026-10-08 · 25× · v5.2.12026-10-08 · 20× · v5.2.12026-10-08 · 20× · v5.2.12026-10-08 · 20× · v5.2.12026-10-08 · 21× · v5.2.12026-10-09 · 22× · v5.2.12026-10-09 · 21× · v5.2.12026-10-11 · 20× · v5.2.12026-10-11 · 23× · 5.2.1 → 5.4.32026-10-12 · 24× · v5.4.32026-10-12 · 22× · v5.4.32026-10-13 · 21× · v5.4.32026-10-13 · 24× · v5.4.32026-10-14 · 25× · v5.4.32026-10-15 · 22× · v5.4.32026-10-15 · 23× · v5.4.32026-10-16 · 28× · v5.4.32026-10-16 · 23× · v5.4.32026-10-17 · 23× · v5.4.32026-10-17 · 24× · v5.4.32026-10-18 · 24× · v5.4.32026-10-19 · 22× · v5.4.32026-10-20 · 25× · v5.4.32026-10-20 · 22× · v5.4.32026-11-08 · 24× · v5.4.32026-11-08 · 24× · v5.4.32026-11-09 · 22× · v5.4.32026-11-10 · 26× · v5.4.32026-11-11 · 23× · v5.4.32026-11-13 · 22× · v5.4.32026-11-14 · 21× · v5.4.32026-11-14 · 20× · v5.4.32026-11-14 · 22× · v5.4.32026-11-14 · 26× · v5.4.32026-11-14 · 25× · v5.4.32026-11-15 · 23× · v5.4.32026-11-15 · 28× · v5.4.32026-11-16 · 21× · v5.4.32026-11-16 · 21× · v5.4.32026-11-17 · 22× · v5.4.32026-11-17 · 24× · v5.4.32026-11-18 · 27× · v5.4.32026-11-18 · 23× · v5.4.32026-11-19 · 21× · v5.4.32026-11-20 · 24× · v5.4.32026-07-13 · 60×2026-07-15 · 66×2026-07-15 · 64×2026-07-16 · 66×2026-07-16 · 60×2026-07-16 · 62×2026-07-16 · 61×2026-07-18 · 65×2026-07-18 · 66×2026-07-18 · 65×2026-07-19 · 63×2026-07-19 · 64×2026-07-20 · 67×2026-07-20 · 65×2026-07-20 · 64×2026-07-20 · 64×2026-07-20 · 64×2026-07-20 · 59×2026-07-20 · 59×2026-07-20 · 58×2026-07-20 · 61× · v2.9.02026-07-20 · 59× · v2.9.02026-07-21 · 59× · v2.9.02026-07-21 · 59× · v2.9.02026-07-21 · 61× · v2.9.02026-07-21 · 59× · v2.9.02026-07-21 · 57× · v2.9.02026-07-21 · 59× · v2.9.02026-07-22 · 61× · v2.9.02026-07-22 · 57× · v2.9.02026-07-22 · 64× · v2.9.02026-07-22 · 63× · v2.9.02026-07-22 · 62× · v2.9.02026-07-22 · 56× · v2.9.02026-07-22 · 68× · v2.9.02026-07-22 · 64× · v2.9.02026-07-22 · 66× · v2.9.02026-07-23 · 58× · v2.9.02026-07-23 · 69× · v2.9.02026-07-23 · 69× · v2.9.02026-07-23 · 58× · v2.9.02026-07-23 · 64× · v2.9.02026-07-23 · 56× · v2.9.02026-07-24 · 65× · v2.9.02026-07-24 · 68× · v2.9.02026-07-25 · 63× · v2.9.02026-07-25 · 65× · v2.9.02026-07-28 · 65× · v2.9.02026-08-01 · 69× · v2.9.02026-08-10 · 65× · v2.9.02026-10-08 · 66× · v2.9.02026-10-08 · 71× · v2.9.02026-10-08 · 65× · v2.9.02026-10-08 · 64× · v2.9.02026-10-08 · 62× · v2.9.02026-10-08 · 67× · v2.9.02026-10-09 · 67× · v2.9.02026-10-09 · 65× · v2.9.02026-10-11 · 63× · v2.9.02026-10-11 · 66× · v2.9.02026-10-12 · 65× · v2.9.02026-10-12 · 62× · v2.9.02026-10-13 · 54× · v2.9.02026-10-13 · 64× · v2.9.02026-10-14 · 65× · v2.9.02026-10-15 · 63× · v2.9.02026-10-15 · 64× · v2.9.02026-10-16 · 70× · v2.9.02026-10-16 · 62× · v2.9.02026-10-17 · 62× · v2.9.02026-10-17 · 67× · v2.9.02026-10-18 · 65× · v2.9.02026-10-19 · 64× · v2.9.02026-10-20 · 74× · v2.9.02026-10-20 · 64× · v2.9.02026-11-08 · 70× · v2.9.02026-11-08 · 66× · v2.9.02026-11-09 · 61× · v2.9.02026-11-10 · 69× · v2.9.02026-11-11 · 67× · v2.9.02026-11-13 · 64× · v2.9.02026-11-14 · 53× · v2.9.02026-11-14 · 55× · v2.9.02026-11-14 · 57× · v2.9.02026-11-14 · 67× · v2.9.02026-11-14 · 68× · v2.9.02026-11-15 · 61× · v2.9.02026-11-15 · 73× · v2.9.02026-11-16 · 55× · v2.9.02026-11-16 · 55× · v2.9.02026-11-17 · 61× · v2.9.02026-11-17 · 62× · v2.9.02026-11-18 · 70× · v2.9.02026-11-18 · 64× · v2.9.02026-11-19 · 55× · v2.9.02026-11-20 · 63× · v2.9.0

Stringify time vs fastest, run over run — large-records

Lower is better, log scale. Each dumper's time as a multiple of the fastest in the same run (×) — machine-invariant. The fastest sits at 1× by construction; a rising Lightning YAML line would mean a regression.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • js-yaml (tuned) 5.4.3
  • yaml (eemeli) 2.9.0
Stringify time vs fastest over time — large-recordsStringify time vs fastest over time — large-records — lower is better. Trend across 58 benchmark runs, oldest to newest; latest values: JSON 1.0×, Lightning YAML 0.2.0 4.1×, js-yaml 5.4.3 34×, js-yaml (tuned) 5.4.3 29×, yaml (eemeli) 2.9.0 79×.1.0×3.0×10×30×2026-07-232026-10-092026-11-082026-11-202026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-24 · 1.0×2026-07-24 · 1.0×2026-07-25 · 1.0×2026-07-25 · 1.0×2026-07-28 · 1.0×2026-08-01 · 1.0×2026-08-10 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-09 · 1.0×2026-10-09 · 1.0×2026-10-11 · 1.0×2026-10-11 · 1.0×2026-10-12 · 1.0×2026-10-12 · 1.0×2026-10-13 · 1.0×2026-10-13 · 1.0×2026-10-14 · 1.0×2026-10-15 · 1.0×2026-10-15 · 1.0×2026-10-16 · 1.0×2026-10-16 · 1.0×2026-10-17 · 1.0×2026-10-17 · 1.0×2026-10-18 · 1.0×2026-10-19 · 1.0×2026-10-20 · 1.0×2026-10-20 · 1.0×2026-11-08 · 1.0×2026-11-09 · 1.0×2026-11-10 · 1.0×2026-11-11 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-15 · 1.0×2026-11-15 · 1.0×2026-11-16 · 1.0×2026-11-16 · 1.0×2026-11-17 · 1.0×2026-11-17 · 1.0×2026-11-18 · 1.0×2026-11-18 · 1.0×2026-11-19 · 1.0×2026-11-20 · 1.0×2026-07-23 · 4.5× · v0.1.12026-07-23 · 4.4× · v0.1.12026-07-23 · 4.5× · v0.1.12026-07-23 · 5.0× · v0.1.12026-07-23 · 4.2× · v0.1.12026-07-23 · 5.1× · v0.1.12026-07-24 · 4.5× · v0.1.12026-07-24 · 4.4× · v0.1.12026-07-25 · 4.4× · v0.1.12026-07-25 · 5.2× · v0.1.12026-07-28 · 4.6× · v0.1.12026-08-01 · 4.5× · v0.1.12026-08-10 · 4.5× · v0.1.12026-10-08 · 4.7× · v0.1.12026-10-08 · 4.1× · v0.1.12026-10-08 · 4.6× · v0.1.12026-10-08 · 4.5× · v0.1.12026-10-08 · 4.7× · v0.1.12026-10-08 · 4.6× · v0.1.12026-10-09 · 4.4× · v0.1.12026-10-09 · 4.7× · v0.1.12026-10-11 · 4.3× · v0.1.12026-10-11 · 4.5× · v0.1.12026-10-12 · 4.4× · v0.1.12026-10-12 · 4.4× · v0.1.12026-10-13 · 5.6× · v0.1.12026-10-13 · 4.3× · v0.1.12026-10-14 · 4.5× · v0.1.12026-10-15 · 4.6× · v0.1.12026-10-15 · 4.6× · v0.1.12026-10-16 · 4.3× · v0.1.12026-10-16 · 4.6× · v0.1.12026-10-17 · 4.6× · v0.1.12026-10-17 · 4.4× · v0.1.12026-10-18 · 4.3× · v0.1.12026-10-19 · 4.6× · v0.1.12026-10-20 · 4.5× · v0.1.12026-10-20 · 4.3× · v0.1.12026-11-08 · 4.5× · v0.1.12026-11-09 · 4.9× · v0.1.12026-11-10 · 4.4× · v0.1.12026-11-11 · 4.6× · v0.1.12026-11-14 · 4.4× · v0.1.12026-11-14 · 5.4× · v0.1.12026-11-14 · 5.4× · v0.1.12026-11-14 · 5.8× · v0.1.12026-11-14 · 4.4× · v0.1.12026-11-14 · 4.2× · v0.1.12026-11-15 · 5.2× · v0.1.12026-11-15 · 4.0× · v0.1.12026-11-16 · 5.6× · v0.1.12026-11-16 · 5.5× · v0.1.12026-11-17 · 4.4× · v0.1.12026-11-17 · 4.8× · v0.1.12026-11-18 · 4.2× · v0.1.12026-11-18 · 4.2× · v0.1.12026-11-19 · 5.6× · v0.1.12026-11-20 · 4.1× · 0.1.1 → 0.2.02026-07-23 · 35× · v5.2.12026-07-23 · 33× · v5.2.12026-07-23 · 31× · v5.2.12026-07-23 · 32× · v5.2.12026-07-23 · 33× · v5.2.12026-07-23 · 32× · v5.2.12026-07-24 · 32× · v5.2.12026-07-24 · 31× · v5.2.12026-07-25 · 35× · v5.2.12026-07-25 · 35× · v5.2.12026-07-28 · 35× · v5.2.12026-08-01 · 31× · v5.2.12026-08-10 · 33× · v5.2.12026-10-08 · 34× · v5.2.12026-10-08 · 30× · v5.2.12026-10-08 · 33× · v5.2.12026-10-08 · 35× · v5.2.12026-10-08 · 35× · v5.2.12026-10-08 · 34× · v5.2.12026-10-09 · 32× · v5.2.12026-10-09 · 35× · v5.2.12026-10-11 · 33× · v5.2.12026-10-11 · 36× · 5.2.1 → 5.4.32026-10-12 · 36× · v5.4.32026-10-12 · 35× · v5.4.32026-10-13 · 33× · v5.4.32026-10-13 · 36× · v5.4.32026-10-14 · 37× · v5.4.32026-10-15 · 36× · v5.4.32026-10-15 · 38× · v5.4.32026-10-16 · 36× · v5.4.32026-10-16 · 36× · v5.4.32026-10-17 · 35× · v5.4.32026-10-17 · 33× · v5.4.32026-10-18 · 36× · v5.4.32026-10-19 · 35× · v5.4.32026-10-20 · 36× · v5.4.32026-10-20 · 35× · v5.4.32026-11-08 · 35× · v5.4.32026-11-09 · 33× · v5.4.32026-11-10 · 36× · v5.4.32026-11-11 · 33× · v5.4.32026-11-14 · 33× · v5.4.32026-11-14 · 32× · v5.4.32026-11-14 · 35× · v5.4.32026-11-14 · 33× · v5.4.32026-11-14 · 36× · v5.4.32026-11-14 · 34× · v5.4.32026-11-15 · 35× · v5.4.32026-11-15 · 34× · v5.4.32026-11-16 · 33× · v5.4.32026-11-16 · 33× · v5.4.32026-11-17 · 34× · v5.4.32026-11-17 · 32× · v5.4.32026-11-18 · 33× · v5.4.32026-11-18 · 33× · v5.4.32026-11-19 · 34× · v5.4.32026-11-20 · 34× · v5.4.32026-07-23 · 26× · v5.2.12026-07-23 · 24× · v5.2.12026-07-23 · 22× · v5.2.12026-07-23 · 23× · v5.2.12026-07-23 · 23× · v5.2.12026-07-23 · 23× · v5.2.12026-07-24 · 24× · v5.2.12026-07-24 · 22× · v5.2.12026-07-25 · 26× · v5.2.12026-07-25 · 25× · v5.2.12026-07-28 · 26× · v5.2.12026-08-01 · 22× · v5.2.12026-08-10 · 24× · v5.2.12026-10-08 · 24× · v5.2.12026-10-08 · 20× · v5.2.12026-10-08 · 24× · v5.2.12026-10-08 · 25× · v5.2.12026-10-08 · 26× · v5.2.12026-10-08 · 24× · v5.2.12026-10-09 · 21× · v5.2.12026-10-09 · 26× · v5.2.12026-10-11 · 24× · v5.2.12026-10-11 · 30× · 5.2.1 → 5.4.32026-10-12 · 31× · v5.4.32026-10-12 · 30× · v5.4.32026-10-13 · 28× · v5.4.32026-10-13 · 31× · v5.4.32026-10-14 · 31× · v5.4.32026-10-15 · 31× · v5.4.32026-10-15 · 32× · v5.4.32026-10-16 · 30× · v5.4.32026-10-16 · 30× · v5.4.32026-10-17 · 30× · v5.4.32026-10-17 · 28× · v5.4.32026-10-18 · 30× · v5.4.32026-10-19 · 28× · v5.4.32026-10-20 · 30× · v5.4.32026-10-20 · 29× · v5.4.32026-11-08 · 30× · v5.4.32026-11-09 · 28× · v5.4.32026-11-10 · 29× · v5.4.32026-11-11 · 27× · v5.4.32026-11-14 · 29× · v5.4.32026-11-14 · 28× · v5.4.32026-11-14 · 29× · v5.4.32026-11-14 · 28× · v5.4.32026-11-14 · 29× · v5.4.32026-11-14 · 28× · v5.4.32026-11-15 · 30× · v5.4.32026-11-15 · 28× · v5.4.32026-11-16 · 28× · v5.4.32026-11-16 · 28× · v5.4.32026-11-17 · 29× · v5.4.32026-11-17 · 27× · v5.4.32026-11-18 · 27× · v5.4.32026-11-18 · 27× · v5.4.32026-11-19 · 29× · v5.4.32026-11-20 · 29× · v5.4.32026-07-23 · 83× · v2.9.02026-07-23 · 80× · v2.9.02026-07-23 · 81× · v2.9.02026-07-23 · 78× · v2.9.02026-07-23 · 82× · v2.9.02026-07-23 · 78× · v2.9.02026-07-24 · 81× · v2.9.02026-07-24 · 79× · v2.9.02026-07-25 · 84× · v2.9.02026-07-25 · 79× · v2.9.02026-07-28 · 85× · v2.9.02026-08-01 · 81× · v2.9.02026-08-10 · 83× · v2.9.02026-10-08 · 84× · v2.9.02026-10-08 · 76× · v2.9.02026-10-08 · 82× · v2.9.02026-10-08 · 81× · v2.9.02026-10-08 · 85× · v2.9.02026-10-08 · 87× · v2.9.02026-10-09 · 79× · v2.9.02026-10-09 · 85× · v2.9.02026-10-11 · 83× · v2.9.02026-10-11 · 84× · v2.9.02026-10-12 · 83× · v2.9.02026-10-12 · 83× · v2.9.02026-10-13 · 80× · v2.9.02026-10-13 · 85× · v2.9.02026-10-14 · 83× · v2.9.02026-10-15 · 85× · v2.9.02026-10-15 · 84× · v2.9.02026-10-16 · 80× · v2.9.02026-10-16 · 83× · v2.9.02026-10-17 · 85× · v2.9.02026-10-17 · 80× · v2.9.02026-10-18 · 82× · v2.9.02026-10-19 · 81× · v2.9.02026-10-20 · 84× · v2.9.02026-10-20 · 82× · v2.9.02026-11-08 · 83× · v2.9.02026-11-09 · 79× · v2.9.02026-11-10 · 78× · v2.9.02026-11-11 · 79× · v2.9.02026-11-14 · 78× · v2.9.02026-11-14 · 77× · v2.9.02026-11-14 · 77× · v2.9.02026-11-14 · 78× · v2.9.02026-11-14 · 80× · v2.9.02026-11-14 · 75× · v2.9.02026-11-15 · 81× · v2.9.02026-11-15 · 78× · v2.9.02026-11-16 · 77× · v2.9.02026-11-16 · 77× · v2.9.02026-11-17 · 80× · v2.9.02026-11-17 · 78× · v2.9.02026-11-18 · 76× · v2.9.02026-11-18 · 75× · v2.9.02026-11-19 · 79× · v2.9.02026-11-20 · 79× · v2.9.0

Stringify time vs fastest, run over run — large-records

Lower is better, log scale. Each dumper's time as a multiple of the fastest in the same run (×) — machine-invariant. The fastest sits at 1× by construction; a rising Lightning YAML line would mean a regression.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • js-yaml (tuned) 5.4.3
  • yaml (eemeli) 2.9.0
Stringify time vs fastest over time — large-recordsStringify time vs fastest over time — large-records — lower is better. Trend across 58 benchmark runs, oldest to newest; latest values: JSON 1.0×, Lightning YAML 0.2.0 7.4×, js-yaml 5.4.3 365×, js-yaml (tuned) 5.4.3 349×, yaml (eemeli) 2.9.0 179×.1.0×3.0×10×30×100×300×2026-07-232026-10-092026-11-082026-11-202026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-23 · 1.0×2026-07-24 · 1.0×2026-07-24 · 1.0×2026-07-25 · 1.0×2026-07-25 · 1.0×2026-07-28 · 1.0×2026-08-01 · 1.0×2026-08-10 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-08 · 1.0×2026-10-09 · 1.0×2026-10-09 · 1.0×2026-10-11 · 1.0×2026-10-11 · 1.0×2026-10-12 · 1.0×2026-10-12 · 1.0×2026-10-13 · 1.0×2026-10-13 · 1.0×2026-10-14 · 1.0×2026-10-15 · 1.0×2026-10-15 · 1.0×2026-10-16 · 1.0×2026-10-16 · 1.0×2026-10-17 · 1.0×2026-10-17 · 1.0×2026-10-18 · 1.0×2026-10-19 · 1.0×2026-10-20 · 1.0×2026-10-20 · 1.0×2026-11-08 · 1.0×2026-11-09 · 1.0×2026-11-10 · 1.0×2026-11-11 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-14 · 1.0×2026-11-15 · 1.0×2026-11-15 · 1.0×2026-11-16 · 1.0×2026-11-16 · 1.0×2026-11-17 · 1.0×2026-11-17 · 1.0×2026-11-18 · 1.0×2026-11-18 · 1.0×2026-11-19 · 1.0×2026-11-20 · 1.0×2026-07-23 · 9.6× · v0.1.12026-07-23 · 10× · v0.1.12026-07-23 · 9.7× · v0.1.12026-07-23 · 8.2× · v0.1.12026-07-23 · 9.8× · v0.1.12026-07-23 · 7.7× · v0.1.12026-07-24 · 8.8× · v0.1.12026-07-24 · 8.9× · v0.1.12026-07-25 · 9.2× · v0.1.12026-07-25 · 8.4× · v0.1.12026-07-28 · 9.7× · v0.1.12026-08-01 · 9.6× · v0.1.12026-08-10 · 9.6× · v0.1.12026-10-08 · 9.0× · v0.1.12026-10-08 · 8.2× · v0.1.12026-10-08 · 8.8× · v0.1.12026-10-08 · 8.7× · v0.1.12026-10-08 · 9.5× · v0.1.12026-10-08 · 9.2× · v0.1.12026-10-09 · 10× · v0.1.12026-10-09 · 9.7× · v0.1.12026-10-11 · 8.4× · v0.1.12026-10-11 · 8.9× · v0.1.12026-10-12 · 9.4× · v0.1.12026-10-12 · 9.9× · v0.1.12026-10-13 · 8.2× · v0.1.12026-10-13 · 9.1× · v0.1.12026-10-14 · 8.7× · v0.1.12026-10-15 · 9.6× · v0.1.12026-10-15 · 9.7× · v0.1.12026-10-16 · 9.3× · v0.1.12026-10-16 · 9.2× · v0.1.12026-10-17 · 9.3× · v0.1.12026-10-17 · 10× · v0.1.12026-10-18 · 8.8× · v0.1.12026-10-19 · 10× · v0.1.12026-10-20 · 9.7× · v0.1.12026-10-20 · 8.7× · v0.1.12026-11-08 · 9.4× · v0.1.12026-11-09 · 8.2× · v0.1.12026-11-10 · 7.1× · v0.1.12026-11-11 · 9.7× · v0.1.12026-11-14 · 7.9× · v0.1.12026-11-14 · 7.8× · v0.1.12026-11-14 · 7.4× · v0.1.12026-11-14 · 7.8× · v0.1.12026-11-14 · 8.8× · v0.1.12026-11-14 · 9.1× · v0.1.12026-11-15 · 8.7× · v0.1.12026-11-15 · 8.3× · v0.1.12026-11-16 · 7.6× · v0.1.12026-11-16 · 6.9× · v0.1.12026-11-17 · 7.8× · v0.1.12026-11-17 · 7.5× · v0.1.12026-11-18 · 7.9× · v0.1.12026-11-18 · 8.5× · v0.1.12026-11-19 · 8.2× · v0.1.12026-11-20 · 7.4× · 0.1.1 → 0.2.02026-07-23 · 76× · v5.2.12026-07-23 · 72× · v5.2.12026-07-23 · 77× · v5.2.12026-07-23 · 62× · v5.2.12026-07-23 · 71× · v5.2.12026-07-23 · 59× · v5.2.12026-07-24 · 72× · v5.2.12026-07-24 · 70× · v5.2.12026-07-25 · 73× · v5.2.12026-07-25 · 66× · v5.2.12026-07-28 · 72× · v5.2.12026-08-01 · 74× · v5.2.12026-08-10 · 70× · v5.2.12026-10-08 · 73× · v5.2.12026-10-08 · 74× · v5.2.12026-10-08 · 68× · v5.2.12026-10-08 · 71× · v5.2.12026-10-08 · 74× · v5.2.12026-10-08 · 72× · v5.2.12026-10-09 · 74× · v5.2.12026-10-09 · 73× · v5.2.12026-10-11 · 74× · v5.2.12026-10-11 · 350× · 5.2.1 → 5.4.32026-10-12 · 337× · v5.4.32026-10-12 · 349× · v5.4.32026-10-13 · 247× · v5.4.32026-10-13 · 343× · v5.4.32026-10-14 · 334× · v5.4.32026-10-15 · 351× · v5.4.32026-10-15 · 338× · v5.4.32026-10-16 · 355× · v5.4.32026-10-16 · 338× · v5.4.32026-10-17 · 345× · v5.4.32026-10-17 · 336× · v5.4.32026-10-18 · 334× · v5.4.32026-10-19 · 332× · v5.4.32026-10-20 · 363× · v5.4.32026-10-20 · 318× · v5.4.32026-11-08 · 316× · v5.4.32026-11-09 · 219× · v5.4.32026-11-10 · 340× · v5.4.32026-11-11 · 328× · v5.4.32026-11-14 · 307× · v5.4.32026-11-14 · 153× · v5.4.32026-11-14 · 157× · v5.4.32026-11-14 · 257× · v5.4.32026-11-14 · 337× · v5.4.32026-11-14 · 350× · v5.4.32026-11-15 · 236× · v5.4.32026-11-15 · 330× · v5.4.32026-11-16 · 158× · v5.4.32026-11-16 · 149× · v5.4.32026-11-17 · 310× · v5.4.32026-11-17 · 218× · v5.4.32026-11-18 · 329× · v5.4.32026-11-18 · 351× · v5.4.32026-11-19 · 156× · v5.4.32026-11-20 · 365× · v5.4.32026-07-23 · 53× · v5.2.12026-07-23 · 48× · v5.2.12026-07-23 · 55× · v5.2.12026-07-23 · 46× · v5.2.12026-07-23 · 49× · v5.2.12026-07-23 · 43× · v5.2.12026-07-24 · 50× · v5.2.12026-07-24 · 50× · v5.2.12026-07-25 · 52× · v5.2.12026-07-25 · 48× · v5.2.12026-07-28 · 49× · v5.2.12026-08-01 · 53× · v5.2.12026-08-10 · 47× · v5.2.12026-10-08 · 50× · v5.2.12026-10-08 · 53× · v5.2.12026-10-08 · 47× · v5.2.12026-10-08 · 48× · v5.2.12026-10-08 · 51× · v5.2.12026-10-08 · 49× · v5.2.12026-10-09 · 53× · v5.2.12026-10-09 · 49× · v5.2.12026-10-11 · 50× · v5.2.12026-10-11 · 363× · 5.2.1 → 5.4.32026-10-12 · 320× · v5.4.32026-10-12 · 318× · v5.4.32026-10-13 · 237× · v5.4.32026-10-13 · 320× · v5.4.32026-10-14 · 312× · v5.4.32026-10-15 · 319× · v5.4.32026-10-15 · 315× · v5.4.32026-10-16 · 336× · v5.4.32026-10-16 · 315× · v5.4.32026-10-17 · 320× · v5.4.32026-10-17 · 321× · v5.4.32026-10-18 · 312× · v5.4.32026-10-19 · 318× · v5.4.32026-10-20 · 351× · v5.4.32026-10-20 · 294× · v5.4.32026-11-08 · 292× · v5.4.32026-11-09 · 204× · v5.4.32026-11-10 · 346× · v5.4.32026-11-11 · 313× · v5.4.32026-11-14 · 289× · v5.4.32026-11-14 · 143× · v5.4.32026-11-14 · 146× · v5.4.32026-11-14 · 241× · v5.4.32026-11-14 · 329× · v5.4.32026-11-14 · 338× · v5.4.32026-11-15 · 221× · v5.4.32026-11-15 · 321× · v5.4.32026-11-16 · 147× · v5.4.32026-11-16 · 138× · v5.4.32026-11-17 · 288× · v5.4.32026-11-17 · 226× · v5.4.32026-11-18 · 319× · v5.4.32026-11-18 · 333× · v5.4.32026-11-19 · 146× · v5.4.32026-11-20 · 349× · v5.4.32026-07-23 · 178× · v2.9.02026-07-23 · 167× · v2.9.02026-07-23 · 173× · v2.9.02026-07-23 · 156× · v2.9.02026-07-23 · 198× · v2.9.02026-07-23 · 142× · v2.9.02026-07-24 · 171× · v2.9.02026-07-24 · 168× · v2.9.02026-07-25 · 170× · v2.9.02026-07-25 · 159× · v2.9.02026-07-28 · 170× · v2.9.02026-08-01 · 172× · v2.9.02026-08-10 · 166× · v2.9.02026-10-08 · 171× · v2.9.02026-10-08 · 179× · v2.9.02026-10-08 · 160× · v2.9.02026-10-08 · 167× · v2.9.02026-10-08 · 181× · v2.9.02026-10-08 · 181× · v2.9.02026-10-09 · 171× · v2.9.02026-10-09 · 175× · v2.9.02026-10-11 · 169× · v2.9.02026-10-11 · 171× · v2.9.02026-10-12 · 186× · v2.9.02026-10-12 · 185× · v2.9.02026-10-13 · 171× · v2.9.02026-10-13 · 189× · v2.9.02026-10-14 · 173× · v2.9.02026-10-15 · 180× · v2.9.02026-10-15 · 172× · v2.9.02026-10-16 · 177× · v2.9.02026-10-16 · 165× · v2.9.02026-10-17 · 172× · v2.9.02026-10-17 · 173× · v2.9.02026-10-18 · 184× · v2.9.02026-10-19 · 171× · v2.9.02026-10-20 · 181× · v2.9.02026-10-20 · 166× · v2.9.02026-11-08 · 164× · v2.9.02026-11-09 · 146× · v2.9.02026-11-10 · 167× · v2.9.02026-11-11 · 171× · v2.9.02026-11-14 · 156× · v2.9.02026-11-14 · 136× · v2.9.02026-11-14 · 135× · v2.9.02026-11-14 · 139× · v2.9.02026-11-14 · 169× · v2.9.02026-11-14 · 172× · v2.9.02026-11-15 · 156× · v2.9.02026-11-15 · 172× · v2.9.02026-11-16 · 135× · v2.9.02026-11-16 · 125× · v2.9.02026-11-17 · 152× · v2.9.02026-11-17 · 149× · v2.9.02026-11-18 · 177× · v2.9.02026-11-18 · 157× · v2.9.02026-11-19 · 143× · v2.9.02026-11-20 · 179× · v2.9.0

Full breakdown — every workload, avg ns per stringify() call (— marks a workload a library can’t represent):

WorkloadJSONLightning YAML 0.2.0js-yaml 5.4.3js-yaml (tuned) 5.4.3yaml (eemeli) 2.9.0
JSON-shaped (records & nested)
small-records1.91 µs5.63 µs56.8 µs44.9 µs137 µs
medium-records231 µs581 µs6.03 ms4.81 ms14.1 ms
large-records3.07 ms10.7 ms90.5 ms72.6 ms195 ms
xlarge-records27.9 ms148 ms832 ms702 ms1.74 s
medium-nested491 µs1.16 ms8.98 ms7.80 ms23.8 ms
large-nested3.45 ms10.5 ms84.1 ms74.9 ms186 ms
Plain block YAML
yaml-plain-small-records1.46 µs4.46 µs43.0 µs33.6 µs102 µs
yaml-plain-medium-records203 µs568 µs5.35 ms4.34 ms13.0 ms
yaml-plain-large-records2.62 ms7.87 ms69.3 ms65.2 ms153 ms
yaml-plain-medium-nested95.7 µs251 µs2.30 ms1.95 ms5.83 ms
Rich YAML (anchors + !!binary)
yaml-rich-small—7.73 µs51.0 µs—179 µs
yaml-rich-medium—691 µs3.87 ms—14.9 ms
yaml-rich-large—7.98 ms43.4 ms—170 ms
WorkloadJSONLightning YAML 0.2.0js-yaml 5.4.3js-yaml (tuned) 5.4.3yaml (eemeli) 2.9.0
JSON-shaped (records & nested)
small-records924 ns5.31 µs51.2 µs39.6 µs132 µs
medium-records98.1 µs581 µs5.50 ms4.36 ms13.1 ms
large-records2.13 ms8.80 ms71.5 ms60.8 ms168 ms
medium-nested251 µs1.10 ms8.33 ms7.15 ms23.7 ms
large-nested2.62 ms9.83 ms70.7 ms63.3 ms161 ms
Plain block YAML
yaml-plain-small-records1.17 µs4.49 µs40.0 µs31.6 µs100 µs
yaml-plain-medium-records148 µs592 µs4.99 ms4.06 ms12.1 ms
yaml-plain-large-records2.37 ms6.92 ms60.0 ms48.9 ms136 ms
yaml-plain-medium-nested56.4 µs230 µs2.12 ms1.81 ms5.45 ms
Rich YAML (anchors + !!binary)
yaml-rich-small—7.86 µs49.8 µs—175 µs
yaml-rich-medium—674 µs3.61 ms—14.6 ms
yaml-rich-large—7.34 ms40.1 ms—146 ms
WorkloadJSONLightning YAML 0.2.0js-yaml 5.4.3js-yaml (tuned) 5.4.3yaml (eemeli) 2.9.0
JSON-shaped (records & nested)
small-records1.13 µs7.58 µs366 µs338 µs182 µs
medium-records105 µs707 µs39.6 ms38.4 ms18.5 ms
large-records1.30 ms9.72 ms477 ms455 ms234 ms
medium-nested189 µs1.50 ms65.1 ms66.3 ms49.8 ms
large-nested1.56 ms13.3 ms488 ms476 ms377 ms
Plain block YAML
yaml-plain-small-records893 ns5.26 µs274 µs265 µs135 µs
yaml-plain-medium-records101 µs726 µs36.2 ms34.4 ms16.7 ms
yaml-plain-large-records1.15 ms8.93 ms390 ms376 ms192 ms
yaml-plain-medium-nested53.9 µs377 µs15.8 ms15.4 ms12.2 ms
Rich YAML (anchors + !!binary)
yaml-rich-small—11.1 µs432 µs—253 µs
yaml-rich-medium—718 µs38.5 ms—21.6 ms
yaml-rich-large—7.91 ms406 ms—230 ms

Measured on AMD EPYC 9V45 96-Core Processor (unknown) · node 24.22.2 (x64-linux) · generated 2026-11-20 · source ddd0913d7022fad0cdb43dd5c71f6f3d0e9d4f03

Peak memory by workload (stringify)

Lower is better. Whole-process peak resident set while dumping, in isolated child processes, fixed at 25 iterations. Each workload is scaled to its own heaviest dumper.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • yaml (eemeli) 2.9.0
Peak memory by workload (stringify, resident set size)Peak memory by workload (stringify, resident set size) — lower is better. Each workload is scaled to its own slowest parser, so bar length is proportional to memory within a row; rows are not comparable to each other, and every bar is labelled with its exact value. Series: JSON, Lightning YAML 0.2.0, js-yaml 5.4.3, yaml (eemeli) 2.9.0. 5 workloads: small-records, medium-records, large-records, xlarge-records, yaml-rich-medium.76.3 MB77.2 MB78.2 MB78.3 MBsmall-records79.0 MB90.1 MB111 MB149 MBmedium-records92.1 MB221 MB384 MB398 MBlarge-records246 MB776 MB1008 MB856 MBxlarge-records112 MB110 MB236 MByaml-rich-medium

Peak memory, run over run — xlarge-records

Lower is better. Absolute peak resident set size (MB), one document per published run, oldest to newest.

  • JSON
  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • yaml (eemeli) 2.9.0
Peak memory over time — xlarge-recordsPeak memory over time — xlarge-records — lower is better. Trend across 96 benchmark runs, oldest to newest; latest values: JSON 246 MB, Lightning YAML 0.2.0 776 MB, js-yaml 5.4.3 1008 MB, yaml (eemeli) 2.9.0 856 MB.0.00 MB500 MB1000 MB1500 MB2000 MB2026-07-132026-07-222026-10-132026-11-202026-07-13 · 301 MB2026-07-15 · 282 MB2026-07-15 · 289 MB2026-07-16 · 287 MB2026-07-16 · 287 MB2026-07-16 · 282 MB2026-07-16 · 285 MB2026-07-18 · 287 MB2026-07-18 · 289 MB2026-07-18 · 288 MB2026-07-19 · 281 MB2026-07-19 · 289 MB2026-07-20 · 292 MB2026-07-20 · 281 MB2026-07-20 · 289 MB2026-07-20 · 284 MB2026-07-20 · 284 MB2026-07-20 · 295 MB2026-07-20 · 279 MB2026-07-20 · 281 MB2026-07-20 · 278 MB2026-07-20 · 282 MB2026-07-21 · 282 MB2026-07-21 · 284 MB2026-07-21 · 286 MB2026-07-21 · 284 MB2026-07-21 · 280 MB2026-07-21 · 285 MB2026-07-22 · 284 MB2026-07-22 · 286 MB2026-07-22 · 249 MB2026-07-22 · 249 MB2026-07-22 · 249 MB2026-07-22 · 249 MB2026-07-22 · 249 MB2026-07-22 · 250 MB2026-07-22 · 249 MB2026-07-23 · 249 MB2026-07-23 · 250 MB2026-07-23 · 251 MB2026-07-23 · 250 MB2026-07-23 · 251 MB2026-07-23 · 251 MB2026-07-24 · 250 MB2026-07-24 · 251 MB2026-07-25 · 250 MB2026-07-25 · 251 MB2026-07-28 · 250 MB2026-08-01 · 250 MB2026-08-10 · 249 MB2026-10-08 · 250 MB2026-10-08 · 251 MB2026-10-08 · 253 MB2026-10-08 · 252 MB2026-10-08 · 251 MB2026-10-08 · 251 MB2026-10-09 · 252 MB2026-10-09 · 251 MB2026-10-11 · 252 MB2026-10-11 · 254 MB2026-10-12 · 254 MB2026-10-12 · 251 MB2026-10-13 · 252 MB2026-10-13 · 254 MB2026-10-14 · 254 MB2026-10-15 · 251 MB2026-10-15 · 253 MB2026-10-16 · 252 MB2026-10-16 · 254 MB2026-10-17 · 252 MB2026-10-17 · 252 MB2026-10-18 · 250 MB2026-10-19 · 250 MB2026-10-20 · 251 MB2026-10-20 · 246 MB2026-11-08 · 247 MB2026-11-08 · 246 MB2026-11-09 · 246 MB2026-11-10 · 246 MB2026-11-11 · 246 MB2026-11-13 · 247 MB2026-11-14 · 246 MB2026-11-14 · 246 MB2026-11-14 · 246 MB2026-11-14 · 247 MB2026-11-14 · 247 MB2026-11-15 · 245 MB2026-11-15 · 247 MB2026-11-16 · 246 MB2026-11-16 · 246 MB2026-11-17 · 245 MB2026-11-17 · 246 MB2026-11-18 · 245 MB2026-11-18 · 246 MB2026-11-19 · 246 MB2026-11-20 · 246 MB2026-07-13 · 567 MB2026-07-15 · 530 MB2026-07-15 · 550 MB2026-07-16 · 559 MB2026-07-16 · 558 MB2026-07-16 · 563 MB2026-07-16 · 548 MB2026-07-18 · 556 MB2026-07-18 · 566 MB2026-07-18 · 580 MB2026-07-19 · 611 MB2026-07-19 · 540 MB2026-07-20 · 563 MB2026-07-20 · 581 MB2026-07-20 · 572 MB2026-07-20 · 615 MB2026-07-20 · 617 MB2026-07-20 · 533 MB2026-07-20 · 566 MB2026-07-20 · 582 MB2026-07-20 · 546 MB · v0.1.12026-07-20 · 573 MB · v0.1.12026-07-21 · 612 MB · v0.1.12026-07-21 · 611 MB · v0.1.12026-07-21 · 573 MB · v0.1.12026-07-21 · 579 MB · v0.1.12026-07-21 · 564 MB · v0.1.12026-07-21 · 609 MB · v0.1.12026-07-22 · 572 MB · v0.1.12026-07-22 · 577 MB · v0.1.12026-07-22 · 738 MB · v0.1.12026-07-22 · 774 MB · v0.1.12026-07-22 · 756 MB · v0.1.12026-07-22 · 776 MB · v0.1.12026-07-22 · 776 MB · v0.1.12026-07-22 · 763 MB · v0.1.12026-07-22 · 769 MB · v0.1.12026-07-23 · 747 MB · v0.1.12026-07-23 · 769 MB · v0.1.12026-07-23 · 770 MB · v0.1.12026-07-23 · 775 MB · v0.1.12026-07-23 · 748 MB · v0.1.12026-07-23 · 776 MB · v0.1.12026-07-24 · 769 MB · v0.1.12026-07-24 · 770 MB · v0.1.12026-07-25 · 769 MB · v0.1.12026-07-25 · 777 MB · v0.1.12026-07-28 · 769 MB · v0.1.12026-08-01 · 770 MB · v0.1.12026-08-10 · 750 MB · v0.1.12026-10-08 · 770 MB · v0.1.12026-10-08 · 777 MB · v0.1.12026-10-08 · 769 MB · v0.1.12026-10-08 · 759 MB · v0.1.12026-10-08 · 769 MB · v0.1.12026-10-08 · 751 MB · v0.1.12026-10-09 · 743 MB · v0.1.12026-10-09 · 770 MB · v0.1.12026-10-11 · 770 MB · v0.1.12026-10-11 · 741 MB · v0.1.12026-10-12 · 770 MB · v0.1.12026-10-12 · 749 MB · v0.1.12026-10-13 · 777 MB · v0.1.12026-10-13 · 770 MB · v0.1.12026-10-14 · 776 MB · v0.1.12026-10-15 · 775 MB · v0.1.12026-10-15 · 769 MB · v0.1.12026-10-16 · 770 MB · v0.1.12026-10-16 · 759 MB · v0.1.12026-10-17 · 770 MB · v0.1.12026-10-17 · 770 MB · v0.1.12026-10-18 · 771 MB · v0.1.12026-10-19 · 769 MB · v0.1.12026-10-20 · 776 MB · v0.1.12026-10-20 · 749 MB · v0.1.12026-11-08 · 775 MB · v0.1.12026-11-08 · 753 MB · v0.1.12026-11-09 · 774 MB · v0.1.12026-11-10 · 725 MB · v0.1.12026-11-11 · 769 MB · v0.1.12026-11-13 · 773 MB · v0.1.12026-11-14 · 777 MB · v0.1.12026-11-14 · 777 MB · v0.1.12026-11-14 · 775 MB · v0.1.12026-11-14 · 775 MB · v0.1.12026-11-14 · 776 MB · v0.1.12026-11-15 · 776 MB · v0.1.12026-11-15 · 775 MB · v0.1.12026-11-16 · 770 MB · v0.1.12026-11-16 · 775 MB · v0.1.12026-11-17 · 766 MB · v0.1.12026-11-17 · 775 MB · v0.1.12026-11-18 · 776 MB · v0.1.12026-11-18 · 746 MB · v0.1.12026-11-19 · 776 MB · v0.1.12026-11-20 · 776 MB · 0.1.1 → 0.2.02026-07-13 · 1167 MB2026-07-15 · 1158 MB2026-07-15 · 1073 MB2026-07-16 · 1145 MB2026-07-16 · 1147 MB2026-07-16 · 1208 MB2026-07-16 · 1156 MB2026-07-18 · 1174 MB2026-07-18 · 1136 MB2026-07-18 · 1158 MB2026-07-19 · 1134 MB2026-07-19 · 1177 MB2026-07-20 · 1070 MB2026-07-20 · 1217 MB2026-07-20 · 1166 MB2026-07-20 · 1204 MB2026-07-20 · 1154 MB2026-07-20 · 1183 MB2026-07-20 · 1126 MB2026-07-20 · 998 MB2026-07-20 · 1147 MB · v5.2.12026-07-20 · 1139 MB · v5.2.12026-07-21 · 1161 MB · v5.2.12026-07-21 · 1145 MB · v5.2.12026-07-21 · 1160 MB · v5.2.12026-07-21 · 1141 MB · v5.2.12026-07-21 · 1146 MB · v5.2.12026-07-21 · 1141 MB · v5.2.12026-07-22 · 1127 MB · v5.2.12026-07-22 · 1158 MB · v5.2.12026-07-22 · 1311 MB · v5.2.12026-07-22 · 1310 MB · v5.2.12026-07-22 · 1313 MB · v5.2.12026-07-22 · 1334 MB · v5.2.12026-07-22 · 1353 MB · v5.2.12026-07-22 · 1285 MB · v5.2.12026-07-22 · 1314 MB · v5.2.12026-07-23 · 1285 MB · v5.2.12026-07-23 · 1302 MB · v5.2.12026-07-23 · 1302 MB · v5.2.12026-07-23 · 1302 MB · v5.2.12026-07-23 · 1311 MB · v5.2.12026-07-23 · 1315 MB · v5.2.12026-07-24 · 1317 MB · v5.2.12026-07-24 · 1285 MB · v5.2.12026-07-25 · 1308 MB · v5.2.12026-07-25 · 1310 MB · v5.2.12026-07-28 · 1316 MB · v5.2.12026-08-01 · 1312 MB · v5.2.12026-08-10 · 1224 MB · v5.2.12026-10-08 · 1325 MB · v5.2.12026-10-08 · 1312 MB · v5.2.12026-10-08 · 1346 MB · v5.2.12026-10-08 · 1343 MB · v5.2.12026-10-08 · 1339 MB · v5.2.12026-10-08 · 1341 MB · v5.2.12026-10-09 · 1311 MB · v5.2.12026-10-09 · 1338 MB · v5.2.12026-10-11 · 1273 MB · v5.2.12026-10-11 · 969 MB · 5.2.1 → 5.4.32026-10-12 · 981 MB · v5.4.32026-10-12 · 1010 MB · v5.4.32026-10-13 · 983 MB · v5.4.32026-10-13 · 995 MB · v5.4.32026-10-14 · 995 MB · v5.4.32026-10-15 · 922 MB · v5.4.32026-10-15 · 937 MB · v5.4.32026-10-16 · 986 MB · v5.4.32026-10-16 · 969 MB · v5.4.32026-10-17 · 969 MB · v5.4.32026-10-17 · 983 MB · v5.4.32026-10-18 · 936 MB · v5.4.32026-10-19 · 982 MB · v5.4.32026-10-20 · 1013 MB · v5.4.32026-10-20 · 990 MB · v5.4.32026-11-08 · 982 MB · v5.4.32026-11-08 · 978 MB · v5.4.32026-11-09 · 986 MB · v5.4.32026-11-10 · 908 MB · v5.4.32026-11-11 · 985 MB · v5.4.32026-11-13 · 983 MB · v5.4.32026-11-14 · 944 MB · v5.4.32026-11-14 · 764 MB · v5.4.32026-11-14 · 989 MB · v5.4.32026-11-14 · 907 MB · v5.4.32026-11-14 · 1030 MB · v5.4.32026-11-15 · 1004 MB · v5.4.32026-11-15 · 950 MB · v5.4.32026-11-16 · 919 MB · v5.4.32026-11-16 · 907 MB · v5.4.32026-11-17 · 980 MB · v5.4.32026-11-17 · 1033 MB · v5.4.32026-11-18 · 956 MB · v5.4.32026-11-18 · 956 MB · v5.4.32026-11-19 · 978 MB · v5.4.32026-11-20 · 1008 MB · v5.4.32026-07-13 · 985 MB2026-07-15 · 945 MB2026-07-15 · 943 MB2026-07-16 · 971 MB2026-07-16 · 944 MB2026-07-16 · 968 MB2026-07-16 · 940 MB2026-07-18 · 967 MB2026-07-18 · 978 MB2026-07-18 · 941 MB2026-07-19 · 954 MB2026-07-19 · 972 MB2026-07-20 · 967 MB2026-07-20 · 940 MB2026-07-20 · 942 MB2026-07-20 · 986 MB2026-07-20 · 936 MB2026-07-20 · 986 MB2026-07-20 · 705 MB2026-07-20 · 626 MB2026-07-20 · 679 MB · v2.9.02026-07-20 · 699 MB · v2.9.02026-07-21 · 703 MB · v2.9.02026-07-21 · 696 MB · v2.9.02026-07-21 · 717 MB · v2.9.02026-07-21 · 694 MB · v2.9.02026-07-21 · 693 MB · v2.9.02026-07-21 · 709 MB · v2.9.02026-07-22 · 714 MB · v2.9.02026-07-22 · 694 MB · v2.9.02026-07-22 · 985 MB · v2.9.02026-07-22 · 856 MB · v2.9.02026-07-22 · 858 MB · v2.9.02026-07-22 · 1180 MB · v2.9.02026-07-22 · 933 MB · v2.9.02026-07-22 · 937 MB · v2.9.02026-07-22 · 863 MB · v2.9.02026-07-23 · 843 MB · v2.9.02026-07-23 · 891 MB · v2.9.02026-07-23 · 865 MB · v2.9.02026-07-23 · 1139 MB · v2.9.02026-07-23 · 865 MB · v2.9.02026-07-23 · 1179 MB · v2.9.02026-07-24 · 863 MB · v2.9.02026-07-24 · 943 MB · v2.9.02026-07-25 · 938 MB · v2.9.02026-07-25 · 1141 MB · v2.9.02026-07-28 · 902 MB · v2.9.02026-08-01 · 964 MB · v2.9.02026-08-10 · 933 MB · v2.9.02026-10-08 · 858 MB · v2.9.02026-10-08 · 952 MB · v2.9.02026-10-08 · 891 MB · v2.9.02026-10-08 · 948 MB · v2.9.02026-10-08 · 900 MB · v2.9.02026-10-08 · 859 MB · v2.9.02026-10-09 · 938 MB · v2.9.02026-10-09 · 939 MB · v2.9.02026-10-11 · 905 MB · v2.9.02026-10-11 · 864 MB · v2.9.02026-10-12 · 853 MB · v2.9.02026-10-12 · 862 MB · v2.9.02026-10-13 · 1206 MB · v2.9.02026-10-13 · 898 MB · v2.9.02026-10-14 · 932 MB · v2.9.02026-10-15 · 902 MB · v2.9.02026-10-15 · 892 MB · v2.9.02026-10-16 · 906 MB · v2.9.02026-10-16 · 896 MB · v2.9.02026-10-17 · 856 MB · v2.9.02026-10-17 · 954 MB · v2.9.02026-10-18 · 937 MB · v2.9.02026-10-19 · 901 MB · v2.9.02026-10-20 · 1181 MB · v2.9.02026-10-20 · 902 MB · v2.9.02026-11-08 · 960 MB · v2.9.02026-11-08 · 914 MB · v2.9.02026-11-09 · 1128 MB · v2.9.02026-11-10 · 1037 MB · v2.9.02026-11-11 · 921 MB · v2.9.02026-11-13 · 858 MB · v2.9.02026-11-14 · 1182 MB · v2.9.02026-11-14 · 1200 MB · v2.9.02026-11-14 · 1205 MB · v2.9.02026-11-14 · 948 MB · v2.9.02026-11-14 · 900 MB · v2.9.02026-11-15 · 1132 MB · v2.9.02026-11-15 · 856 MB · v2.9.02026-11-16 · 1198 MB · v2.9.02026-11-16 · 1200 MB · v2.9.02026-11-17 · 858 MB · v2.9.02026-11-17 · 1150 MB · v2.9.02026-11-18 · 926 MB · v2.9.02026-11-18 · 920 MB · v2.9.02026-11-19 · 1199 MB · v2.9.02026-11-20 · 856 MB · v2.9.0

Full breakdown — every workload, peak RSS (MB):

WorkloadJSONLightning YAML 0.2.0js-yaml 5.4.3yaml (eemeli) 2.9.0
JSON-shaped (records & nested)
small-records76.3 MB77.2 MB78.2 MB78.3 MB
medium-records79.0 MB90.1 MB111 MB149 MB
large-records92.1 MB221 MB384 MB398 MB
xlarge-records246 MB776 MB1008 MB856 MB
medium-nested80.8 MB92.5 MB148 MB212 MB
large-nested93.1 MB209 MB384 MB383 MB
Plain block YAML
yaml-plain-small-records78.7 MB77.2 MB79.2 MB78.8 MB
yaml-plain-medium-records104 MB111 MB140 MB185 MB
yaml-plain-large-records293 MB286 MB361 MB394 MB
yaml-plain-medium-nested91.9 MB91.2 MB94.3 MB109 MB
Rich YAML (anchors + !!binary)
yaml-rich-small—78.8 MB78.7 MB81.5 MB
yaml-rich-medium—112 MB110 MB236 MB
yaml-rich-large—249 MB316 MB441 MB

Pass rate across the official yaml-test-suite — the YAML 1.2 spec operationalized as executable cases — a property of the parser, not a per-workload measurement. Higher is better.

Generated 2026-11-20 · source ddd0913d7022fad0cdb43dd5c71f6f3d0e9d4f03

YAML test-suite conformance

Higher is better. Pass rate across 373 cases from the official yaml-test-suite.

YAML test-suite conformance (pass rate)YAML test-suite conformance (pass rate) — higher is better. Lightning YAML 98.4%, yaml (eemeli) 2.9.0 97.1%, js-yaml 5.4.3 94.9%.0%25%50%75%100%Lightning YAML98.4% (367/373)yaml (eemeli) 2.9.097.1% (362/373)js-yaml 5.4.394.9% (354/373)

Lightning YAML passes 98.4% of the suite — including all 91 negative (should-fail) cases; the per-library standing is in the chart above and the table below. Merge keys (<<) are absent from the test corpus and are currently read as ordinary keys; the suite also reports other remaining YAML 1.2 edge cases.

Conformance pass rate, run over run

Higher is better. Pass rate (%) per library, one document per published run, oldest to newest. The y-axis is zoomed to the labelled range where the parsers sit so run-to-run movement is visible.

  • Lightning YAML
  • js-yaml 5.4.3
  • yaml (eemeli) 2.9.0
Conformance pass rate over timeConformance pass rate over time — higher is better. Trend across 96 benchmark runs, oldest to newest; latest values: Lightning YAML 98.4%, js-yaml 5.4.3 94.9%, yaml (eemeli) 2.9.0 97.1%.90.0%92.5%95.0%97.5%100.0%2026-07-132026-07-222026-10-132026-11-202026-07-13 · 97.6%2026-07-15 · 97.6%2026-07-15 · 97.6%2026-07-16 · 97.6%2026-07-16 · 97.6%2026-07-16 · 97.6%2026-07-16 · 97.6%2026-07-18 · 97.6%2026-07-18 · 97.6%2026-07-18 · 97.6%2026-07-19 · 97.6%2026-07-19 · 97.6%2026-07-20 · 97.6%2026-07-20 · 97.6%2026-07-20 · 97.6%2026-07-20 · 97.6%2026-07-20 · 97.6%2026-07-20 · 97.6%2026-07-20 · 97.6%2026-07-20 · 97.6%2026-07-20 · 97.6%2026-07-20 · 97.6%2026-07-21 · 97.6%2026-07-21 · 97.6%2026-07-21 · 97.6%2026-07-21 · 97.6%2026-07-21 · 97.6%2026-07-21 · 97.6%2026-07-22 · 97.6%2026-07-22 · 97.6%2026-07-22 · 97.6%2026-07-22 · 97.6%2026-07-22 · 97.6%2026-07-22 · 97.6%2026-07-22 · 97.6%2026-07-22 · 97.6%2026-07-22 · 97.6%2026-07-23 · 97.6%2026-07-23 · 97.6%2026-07-23 · 97.6%2026-07-23 · 97.6%2026-07-23 · 97.6%2026-07-23 · 97.6%2026-07-24 · 97.6%2026-07-24 · 97.6%2026-07-25 · 97.6%2026-07-25 · 97.6%2026-07-28 · 97.6%2026-08-01 · 97.6%2026-08-10 · 97.6%2026-10-08 · 97.6%2026-10-08 · 97.6%2026-10-08 · 97.6%2026-10-08 · 97.6%2026-10-08 · 97.6%2026-10-08 · 97.6%2026-10-09 · 97.6%2026-10-09 · 97.6%2026-10-11 · 97.6%2026-10-11 · 97.6%2026-10-12 · 97.6%2026-10-12 · 97.6%2026-10-13 · 98.4%2026-10-13 · 98.4%2026-10-14 · 98.4%2026-10-15 · 98.4%2026-10-15 · 98.4%2026-10-16 · 98.4%2026-10-16 · 98.4%2026-10-17 · 98.4%2026-10-17 · 98.4%2026-10-18 · 98.4%2026-10-19 · 98.4%2026-10-20 · 98.4%2026-10-20 · 98.4%2026-11-08 · 98.4%2026-11-08 · 98.4%2026-11-09 · 98.4%2026-11-10 · 98.4%2026-11-11 · 98.4%2026-11-14 · 98.4%2026-11-14 · 98.4%2026-11-14 · 98.4%2026-11-14 · 98.4%2026-11-14 · 98.4%2026-11-14 · 98.4%2026-11-15 · 98.4%2026-11-15 · 98.4%2026-11-16 · 98.4%2026-11-16 · 98.4%2026-11-17 · 98.4%2026-11-17 · 98.4%2026-11-18 · 98.4%2026-11-18 · 98.4%2026-11-19 · 98.4%2026-11-20 · 98.4%2026-07-13 · 94.9% · v5.2.12026-07-15 · 94.9% · v5.2.12026-07-15 · 94.9% · v5.2.12026-07-16 · 94.9% · v5.2.12026-07-16 · 94.9% · v5.2.12026-07-16 · 94.9% · v5.2.12026-07-16 · 94.9% · v5.2.12026-07-18 · 94.9% · v5.2.12026-07-18 · 94.9% · v5.2.12026-07-18 · 94.9% · v5.2.12026-07-19 · 94.9% · v5.2.12026-07-19 · 94.9% · v5.2.12026-07-20 · 94.9% · v5.2.12026-07-20 · 94.9% · v5.2.12026-07-20 · 94.9% · v5.2.12026-07-20 · 94.9% · v5.2.12026-07-20 · 94.9% · v5.2.12026-07-20 · 94.9% · v5.2.12026-07-20 · 94.9% · v5.2.12026-07-20 · 94.9% · v5.2.12026-07-20 · 94.9% · v5.2.12026-07-20 · 94.9% · v5.2.12026-07-21 · 94.9% · v5.2.12026-07-21 · 94.9% · v5.2.12026-07-21 · 94.9% · v5.2.12026-07-21 · 94.9% · v5.2.12026-07-21 · 94.9% · v5.2.12026-07-21 · 94.9% · v5.2.12026-07-22 · 94.9% · v5.2.12026-07-22 · 94.9% · v5.2.12026-07-22 · 94.9% · v5.2.12026-07-22 · 94.9% · v5.2.12026-07-22 · 94.9% · v5.2.12026-07-22 · 94.9% · v5.2.12026-07-22 · 94.9% · v5.2.12026-07-22 · 94.9% · v5.2.12026-07-22 · 94.9% · v5.2.12026-07-23 · 94.9% · v5.2.12026-07-23 · 94.9% · v5.2.12026-07-23 · 94.9% · v5.2.12026-07-23 · 94.9% · v5.2.12026-07-23 · 94.9% · v5.2.12026-07-23 · 94.9% · v5.2.12026-07-24 · 94.9% · v5.2.12026-07-24 · 94.9% · v5.2.12026-07-25 · 94.9% · v5.2.12026-07-25 · 94.9% · v5.2.12026-07-28 · 94.9% · v5.2.12026-08-01 · 94.9% · v5.2.12026-08-10 · 94.9% · v5.2.12026-10-08 · 94.9% · v5.2.12026-10-08 · 94.9% · v5.2.12026-10-08 · 94.9% · v5.2.12026-10-08 · 94.9% · v5.2.12026-10-08 · 94.9% · v5.2.12026-10-08 · 94.9% · v5.2.12026-10-09 · 94.9% · v5.2.12026-10-09 · 94.9% · v5.2.12026-10-11 · 94.9% · v5.2.12026-10-11 · 94.9% · 5.2.1 → 5.4.32026-10-12 · 94.9% · v5.4.32026-10-12 · 94.9% · v5.4.32026-10-13 · 94.9% · v5.4.32026-10-13 · 94.9% · v5.4.32026-10-14 · 94.9% · v5.4.32026-10-15 · 94.9% · v5.4.32026-10-15 · 94.9% · v5.4.32026-10-16 · 94.9% · v5.4.32026-10-16 · 94.9% · v5.4.32026-10-17 · 94.9% · v5.4.32026-10-17 · 94.9% · v5.4.32026-10-18 · 94.9% · v5.4.32026-10-19 · 94.9% · v5.4.32026-10-20 · 94.9% · v5.4.32026-10-20 · 94.9% · v5.4.32026-11-08 · 94.9% · v5.4.32026-11-08 · 94.9% · v5.4.32026-11-09 · 94.9% · v5.4.32026-11-10 · 94.9% · v5.4.32026-11-11 · 94.9% · v5.4.32026-11-14 · 94.9% · v5.4.32026-11-14 · 94.9% · v5.4.32026-11-14 · 94.9% · v5.4.32026-11-14 · 94.9% · v5.4.32026-11-14 · 94.9% · v5.4.32026-11-14 · 94.9% · v5.4.32026-11-15 · 94.9% · v5.4.32026-11-15 · 94.9% · v5.4.32026-11-16 · 94.9% · v5.4.32026-11-16 · 94.9% · v5.4.32026-11-17 · 94.9% · v5.4.32026-11-17 · 94.9% · v5.4.32026-11-18 · 94.9% · v5.4.32026-11-18 · 94.9% · v5.4.32026-11-19 · 94.9% · v5.4.32026-11-20 · 94.9% · v5.4.32026-07-13 · 97.1%2026-07-15 · 97.1%2026-07-15 · 97.1%2026-07-16 · 97.1%2026-07-16 · 97.1%2026-07-16 · 97.1%2026-07-16 · 97.1%2026-07-18 · 97.1%2026-07-18 · 97.1%2026-07-18 · 97.1%2026-07-19 · 97.1%2026-07-19 · 97.1%2026-07-20 · 97.1%2026-07-20 · 97.1%2026-07-20 · 97.1%2026-07-20 · 97.1%2026-07-20 · 97.1%2026-07-20 · 97.1%2026-07-20 · 97.1%2026-07-20 · 97.1%2026-07-20 · 97.1% · v2.9.02026-07-20 · 97.1% · v2.9.02026-07-21 · 97.1% · v2.9.02026-07-21 · 97.1% · v2.9.02026-07-21 · 97.1% · v2.9.02026-07-21 · 97.1% · v2.9.02026-07-21 · 97.1% · v2.9.02026-07-21 · 97.1% · v2.9.02026-07-22 · 97.1% · v2.9.02026-07-22 · 97.1% · v2.9.02026-07-22 · 97.1% · v2.9.02026-07-22 · 97.1% · v2.9.02026-07-22 · 97.1% · v2.9.02026-07-22 · 97.1% · v2.9.02026-07-22 · 97.1% · v2.9.02026-07-22 · 97.1% · v2.9.02026-07-22 · 97.1% · v2.9.02026-07-23 · 97.1% · v2.9.02026-07-23 · 97.1% · v2.9.02026-07-23 · 97.1% · v2.9.02026-07-23 · 97.1% · v2.9.02026-07-23 · 97.1% · v2.9.02026-07-23 · 97.1% · v2.9.02026-07-24 · 97.1% · v2.9.02026-07-24 · 97.1% · v2.9.02026-07-25 · 97.1% · v2.9.02026-07-25 · 97.1% · v2.9.02026-07-28 · 97.1% · v2.9.02026-08-01 · 97.1% · v2.9.02026-08-10 · 97.1% · v2.9.02026-10-08 · 97.1% · v2.9.02026-10-08 · 97.1% · v2.9.02026-10-08 · 97.1% · v2.9.02026-10-08 · 97.1% · v2.9.02026-10-08 · 97.1% · v2.9.02026-10-08 · 97.1% · v2.9.02026-10-09 · 97.1% · v2.9.02026-10-09 · 97.1% · v2.9.02026-10-11 · 97.1% · v2.9.02026-10-11 · 97.1% · v2.9.02026-10-12 · 97.1% · v2.9.02026-10-12 · 97.1% · v2.9.02026-10-13 · 97.1% · v2.9.02026-10-13 · 97.1% · v2.9.02026-10-14 · 97.1% · v2.9.02026-10-15 · 97.1% · v2.9.02026-10-15 · 97.1% · v2.9.02026-10-16 · 97.1% · v2.9.02026-10-16 · 97.1% · v2.9.02026-10-17 · 97.1% · v2.9.02026-10-17 · 97.1% · v2.9.02026-10-18 · 97.1% · v2.9.02026-10-19 · 97.1% · v2.9.02026-10-20 · 97.1% · v2.9.02026-10-20 · 97.1% · v2.9.02026-11-08 · 97.1% · v2.9.02026-11-08 · 97.1% · v2.9.02026-11-09 · 97.1% · v2.9.02026-11-10 · 97.1% · v2.9.02026-11-11 · 97.1% · v2.9.02026-11-14 · 97.1% · v2.9.02026-11-14 · 97.1% · v2.9.02026-11-14 · 97.1% · v2.9.02026-11-14 · 97.1% · v2.9.02026-11-14 · 97.1% · v2.9.02026-11-14 · 97.1% · v2.9.02026-11-15 · 97.1% · v2.9.02026-11-15 · 97.1% · v2.9.02026-11-16 · 97.1% · v2.9.02026-11-16 · 97.1% · v2.9.02026-11-17 · 97.1% · v2.9.02026-11-17 · 97.1% · v2.9.02026-11-18 · 97.1% · v2.9.02026-11-18 · 97.1% · v2.9.02026-11-19 · 97.1% · v2.9.02026-11-20 · 97.1% · v2.9.0

Full breakdown — 373 cases, per library:

LibraryPassedTotalScore
Lightning YAML36737398.4%
yaml (eemeli) 2.9.036237397.1%
js-yaml 5.4.335437394.9%

How many kilobytes each library adds to a browser bundle when an app imports only parse + stringify and ships it minified — a whole-library figure, not split by operation. Measured with js-yaml, yaml (eemeli), and lightning-yaml, tree-shaken and gzipped the same way a real app would ship them. Sizes are deterministic (not machine-dependent). Lower is better.

Generated 2026-11-20 · source ddd0913d7022fad0cdb43dd5c71f6f3d0e9d4f03

Bundle size (browser)

Lower is better. Minified + gzipped, the smallest result across 3 bundlers (vite, webpack, rolldown) for each library — parse + stringify only, tree-shaken.

Bundle size (browser, minified + gzip, smallest across bundlers)Bundle size (browser, minified + gzip, smallest across bundlers) — lower is better. Lightning YAML 0.2.0 12.2 KB, js-yaml 5.4.3 16.0 KB, yaml (eemeli) 2.9.0 29.1 KB.0.0 KB7.5 KB15.0 KB22.5 KB30.0 KBLightning YAML 0.2.012.2 KBjs-yaml 5.4.316.0 KByaml (eemeli) 2.9.029.1 KB

Full breakdown — every bundler, gzip with the raw minified size alongside:

BundlerLightning YAML 0.2.0js-yaml 5.4.3yaml (eemeli) 2.9.0
vite12.7 KB (42.1 KB min)16.1 KB (55.0 KB min)29.4 KB (96.5 KB min)
webpack12.6 KB (41.8 KB min)16.0 KB (54.4 KB min)29.3 KB (96.3 KB min)
rolldown (rust)12.2 KB (41.4 KB min)16.4 KB (54.9 KB min)29.1 KB (95.1 KB min)

Bundle size, run over run

Lower is better. Smallest gzip across bundlers (KB) per library, one document per published run, oldest to newest.

  • Lightning YAML 0.2.0
  • js-yaml 5.4.3
  • yaml (eemeli) 2.9.0
Bundle size over time (smallest gzip across bundlers)Bundle size over time (smallest gzip across bundlers) — lower is better. Trend across 95 benchmark runs, oldest to newest; latest values: Lightning YAML 0.2.0 12.2 KB, js-yaml 5.4.3 16.0 KB, yaml (eemeli) 2.9.0 29.1 KB.0.0 KB7.5 KB15.0 KB22.5 KB30.0 KB2026-07-152026-07-222026-10-142026-11-202026-07-15 · 11.5 KB · v0.1.02026-07-15 · 11.5 KB · v0.1.02026-07-16 · 11.5 KB · v0.1.02026-07-16 · 11.5 KB · v0.1.02026-07-16 · 11.7 KB · v0.1.02026-07-16 · 11.7 KB · v0.1.02026-07-18 · 11.7 KB · v0.1.02026-07-18 · 11.7 KB · v0.1.02026-07-18 · 11.7 KB · v0.1.02026-07-19 · 11.7 KB · v0.1.02026-07-19 · 11.7 KB · v0.1.02026-07-20 · 11.7 KB · v0.1.02026-07-20 · 11.7 KB · v0.1.02026-07-20 · 11.7 KB · v0.1.02026-07-20 · 11.7 KB · v0.1.02026-07-20 · 11.7 KB · v0.1.02026-07-20 · 11.7 KB · 0.1.0 → 0.1.12026-07-20 · 11.7 KB · v0.1.12026-07-20 · 11.7 KB · v0.1.12026-07-20 · 11.7 KB · v0.1.12026-07-20 · 11.7 KB · v0.1.12026-07-21 · 11.7 KB · v0.1.12026-07-21 · 11.7 KB · v0.1.12026-07-21 · 11.7 KB · v0.1.12026-07-21 · 11.7 KB · v0.1.12026-07-21 · 11.7 KB · v0.1.12026-07-21 · 11.7 KB · v0.1.12026-07-22 · 11.7 KB · v0.1.12026-07-22 · 11.7 KB · v0.1.12026-07-22 · 11.7 KB · v0.1.12026-07-22 · 11.7 KB · v0.1.12026-07-22 · 11.7 KB · v0.1.12026-07-22 · 11.9 KB · v0.1.12026-07-22 · 11.9 KB · v0.1.12026-07-22 · 11.9 KB · v0.1.12026-07-22 · 11.9 KB · v0.1.12026-07-23 · 11.9 KB · v0.1.12026-07-23 · 11.9 KB · v0.1.12026-07-23 · 11.9 KB · v0.1.12026-07-23 · 11.9 KB · v0.1.12026-07-23 · 11.9 KB · v0.1.12026-07-23 · 11.9 KB · v0.1.12026-07-24 · 11.9 KB · v0.1.12026-07-24 · 12.0 KB · v0.1.12026-07-25 · 12.0 KB · v0.1.12026-07-25 · 12.0 KB · v0.1.12026-07-28 · 12.0 KB · v0.1.12026-08-01 · 12.0 KB · v0.1.12026-08-10 · 12.0 KB · v0.1.12026-10-08 · 12.0 KB · v0.1.12026-10-08 · 12.0 KB · v0.1.12026-10-08 · 12.0 KB · v0.1.12026-10-08 · 12.1 KB · v0.1.12026-10-08 · 12.1 KB · v0.1.12026-10-08 · 12.1 KB · v0.1.12026-10-09 · 12.1 KB · v0.1.12026-10-09 · 12.1 KB · v0.1.12026-10-11 · 12.1 KB · v0.1.12026-10-11 · 12.1 KB · v0.1.12026-10-12 · 12.1 KB · v0.1.12026-10-12 · 12.1 KB · v0.1.12026-10-13 · 12.1 KB · v0.1.12026-10-13 · 12.1 KB · v0.1.12026-10-14 · 12.1 KB · v0.1.12026-10-15 · 12.1 KB · v0.1.12026-10-15 · 12.1 KB · v0.1.12026-10-16 · 12.1 KB · v0.1.12026-10-16 · 12.1 KB · v0.1.12026-10-17 · 12.1 KB · v0.1.12026-10-17 · 12.2 KB · v0.1.12026-10-18 · 12.2 KB · v0.1.12026-10-19 · 12.2 KB · v0.1.12026-10-20 · 12.2 KB · v0.1.12026-10-20 · 12.2 KB · v0.1.12026-11-08 · 12.2 KB · v0.1.12026-11-08 · 12.2 KB · v0.1.12026-11-09 · 12.2 KB · v0.1.12026-11-10 · 12.2 KB · v0.1.12026-11-11 · 12.2 KB · v0.1.12026-11-14 · 12.2 KB · v0.1.12026-11-14 · 12.2 KB · v0.1.12026-11-14 · 12.2 KB · v0.1.12026-11-14 · 12.2 KB · v0.1.12026-11-14 · 12.2 KB · v0.1.12026-11-14 · 12.2 KB · v0.1.12026-11-15 · 12.2 KB · v0.1.12026-11-15 · 12.2 KB · v0.1.12026-11-16 · 12.2 KB · v0.1.12026-11-16 · 12.2 KB · v0.1.12026-11-17 · 12.2 KB · v0.1.12026-11-17 · 12.2 KB · v0.1.12026-11-18 · 12.2 KB · v0.1.12026-11-18 · 12.2 KB · v0.1.12026-11-19 · 12.2 KB · v0.1.12026-11-20 · 12.2 KB · 0.1.1 → 0.2.02026-07-15 · 15.5 KB · v5.2.12026-07-15 · 15.5 KB · v5.2.12026-07-16 · 15.5 KB · v5.2.12026-07-16 · 15.5 KB · v5.2.12026-07-16 · 15.5 KB · v5.2.12026-07-16 · 15.5 KB · v5.2.12026-07-18 · 15.5 KB · v5.2.12026-07-18 · 15.5 KB · v5.2.12026-07-18 · 15.5 KB · v5.2.12026-07-19 · 15.5 KB · v5.2.12026-07-19 · 15.5 KB · v5.2.12026-07-20 · 15.5 KB · v5.2.12026-07-20 · 15.5 KB · v5.2.12026-07-20 · 15.5 KB · v5.2.12026-07-20 · 15.5 KB · v5.2.12026-07-20 · 15.5 KB · v5.2.12026-07-20 · 15.5 KB · v5.2.12026-07-20 · 15.5 KB · v5.2.12026-07-20 · 15.5 KB · v5.2.12026-07-20 · 15.5 KB · v5.2.12026-07-20 · 15.5 KB · v5.2.12026-07-21 · 15.5 KB · v5.2.12026-07-21 · 15.5 KB · v5.2.12026-07-21 · 15.5 KB · v5.2.12026-07-21 · 15.5 KB · v5.2.12026-07-21 · 15.5 KB · v5.2.12026-07-21 · 15.5 KB · v5.2.12026-07-22 · 15.5 KB · v5.2.12026-07-22 · 15.5 KB · v5.2.12026-07-22 · 15.5 KB · v5.2.12026-07-22 · 15.5 KB · v5.2.12026-07-22 · 15.5 KB · v5.2.12026-07-22 · 15.5 KB · v5.2.12026-07-22 · 15.5 KB · v5.2.12026-07-22 · 15.5 KB · v5.2.12026-07-22 · 15.5 KB · v5.2.12026-07-23 · 15.5 KB · v5.2.12026-07-23 · 15.5 KB · v5.2.12026-07-23 · 15.5 KB · v5.2.12026-07-23 · 15.5 KB · v5.2.12026-07-23 · 15.5 KB · v5.2.12026-07-23 · 15.5 KB · v5.2.12026-07-24 · 15.5 KB · v5.2.12026-07-24 · 15.5 KB · v5.2.12026-07-25 · 15.5 KB · v5.2.12026-07-25 · 15.5 KB · v5.2.12026-07-28 · 15.5 KB · v5.2.12026-08-01 · 15.5 KB · v5.2.12026-08-10 · 15.5 KB · v5.2.12026-10-08 · 15.5 KB · v5.2.12026-10-08 · 15.5 KB · v5.2.12026-10-08 · 15.5 KB · v5.2.12026-10-08 · 15.5 KB · v5.2.12026-10-08 · 15.5 KB · v5.2.12026-10-08 · 15.5 KB · v5.2.12026-10-09 · 15.5 KB · v5.2.12026-10-09 · 15.5 KB · v5.2.12026-10-11 · 15.5 KB · v5.2.12026-10-11 · 16.0 KB · 5.2.1 → 5.4.32026-10-12 · 16.0 KB · v5.4.32026-10-12 · 16.0 KB · v5.4.32026-10-13 · 16.0 KB · v5.4.32026-10-13 · 16.0 KB · v5.4.32026-10-14 · 16.0 KB · v5.4.32026-10-15 · 16.0 KB · v5.4.32026-10-15 · 16.0 KB · v5.4.32026-10-16 · 16.0 KB · v5.4.32026-10-16 · 16.0 KB · v5.4.32026-10-17 · 16.0 KB · v5.4.32026-10-17 · 16.0 KB · v5.4.32026-10-18 · 16.0 KB · v5.4.32026-10-19 · 16.0 KB · v5.4.32026-10-20 · 16.0 KB · v5.4.32026-10-20 · 16.0 KB · v5.4.32026-11-08 · 16.0 KB · v5.4.32026-11-08 · 16.0 KB · v5.4.32026-11-09 · 16.0 KB · v5.4.32026-11-10 · 16.0 KB · v5.4.32026-11-11 · 16.0 KB · v5.4.32026-11-14 · 16.0 KB · v5.4.32026-11-14 · 16.0 KB · v5.4.32026-11-14 · 16.0 KB · v5.4.32026-11-14 · 16.0 KB · v5.4.32026-11-14 · 16.0 KB · v5.4.32026-11-14 · 16.0 KB · v5.4.32026-11-15 · 16.0 KB · v5.4.32026-11-15 · 16.0 KB · v5.4.32026-11-16 · 16.0 KB · v5.4.32026-11-16 · 16.0 KB · v5.4.32026-11-17 · 16.0 KB · v5.4.32026-11-17 · 16.0 KB · v5.4.32026-11-18 · 16.0 KB · v5.4.32026-11-18 · 16.0 KB · v5.4.32026-11-19 · 16.0 KB · v5.4.32026-11-20 · 16.0 KB · v5.4.32026-07-15 · 29.1 KB · v2.9.02026-07-15 · 29.1 KB · v2.9.02026-07-16 · 29.1 KB · v2.9.02026-07-16 · 29.1 KB · v2.9.02026-07-16 · 29.1 KB · v2.9.02026-07-16 · 29.1 KB · v2.9.02026-07-18 · 29.1 KB · v2.9.02026-07-18 · 29.1 KB · v2.9.02026-07-18 · 29.1 KB · v2.9.02026-07-19 · 29.1 KB · v2.9.02026-07-19 · 29.1 KB · v2.9.02026-07-20 · 29.1 KB · v2.9.02026-07-20 · 29.1 KB · v2.9.02026-07-20 · 29.1 KB · v2.9.02026-07-20 · 29.1 KB · v2.9.02026-07-20 · 29.1 KB · v2.9.02026-07-20 · 29.1 KB · v2.9.02026-07-20 · 29.1 KB · v2.9.02026-07-20 · 29.1 KB · v2.9.02026-07-20 · 29.1 KB · v2.9.02026-07-20 · 29.1 KB · v2.9.02026-07-21 · 29.1 KB · v2.9.02026-07-21 · 29.1 KB · v2.9.02026-07-21 · 29.1 KB · v2.9.02026-07-21 · 29.1 KB · v2.9.02026-07-21 · 29.1 KB · v2.9.02026-07-21 · 29.1 KB · v2.9.02026-07-22 · 29.1 KB · v2.9.02026-07-22 · 29.1 KB · v2.9.02026-07-22 · 29.1 KB · v2.9.02026-07-22 · 29.1 KB · v2.9.02026-07-22 · 29.1 KB · v2.9.02026-07-22 · 29.1 KB · v2.9.02026-07-22 · 29.1 KB · v2.9.02026-07-22 · 29.1 KB · v2.9.02026-07-22 · 29.1 KB · v2.9.02026-07-23 · 29.1 KB · v2.9.02026-07-23 · 29.1 KB · v2.9.02026-07-23 · 29.1 KB · v2.9.02026-07-23 · 29.1 KB · v2.9.02026-07-23 · 29.1 KB · v2.9.02026-07-23 · 29.1 KB · v2.9.02026-07-24 · 29.1 KB · v2.9.02026-07-24 · 29.1 KB · v2.9.02026-07-25 · 29.1 KB · v2.9.02026-07-25 · 29.1 KB · v2.9.02026-07-28 · 29.1 KB · v2.9.02026-08-01 · 29.1 KB · v2.9.02026-08-10 · 29.1 KB · v2.9.02026-10-08 · 29.1 KB · v2.9.02026-10-08 · 29.1 KB · v2.9.02026-10-08 · 29.1 KB · v2.9.02026-10-08 · 29.1 KB · v2.9.02026-10-08 · 29.1 KB · v2.9.02026-10-08 · 29.1 KB · v2.9.02026-10-09 · 29.1 KB · v2.9.02026-10-09 · 29.1 KB · v2.9.02026-10-11 · 29.1 KB · v2.9.02026-10-11 · 29.1 KB · v2.9.02026-10-12 · 29.1 KB · v2.9.02026-10-12 · 29.1 KB · v2.9.02026-10-13 · 29.1 KB · v2.9.02026-10-13 · 29.1 KB · v2.9.02026-10-14 · 29.1 KB · v2.9.02026-10-15 · 29.1 KB · v2.9.02026-10-15 · 29.1 KB · v2.9.02026-10-16 · 29.1 KB · v2.9.02026-10-16 · 29.1 KB · v2.9.02026-10-17 · 29.1 KB · v2.9.02026-10-17 · 29.1 KB · v2.9.02026-10-18 · 29.1 KB · v2.9.02026-10-19 · 29.1 KB · v2.9.02026-10-20 · 29.1 KB · v2.9.02026-10-20 · 29.1 KB · v2.9.02026-11-08 · 29.1 KB · v2.9.02026-11-08 · 29.1 KB · v2.9.02026-11-09 · 29.1 KB · v2.9.02026-11-10 · 29.1 KB · v2.9.02026-11-11 · 29.1 KB · v2.9.02026-11-14 · 29.1 KB · v2.9.02026-11-14 · 29.1 KB · v2.9.02026-11-14 · 29.1 KB · v2.9.02026-11-14 · 29.1 KB · v2.9.02026-11-14 · 29.1 KB · v2.9.02026-11-14 · 29.1 KB · v2.9.02026-11-15 · 29.1 KB · v2.9.02026-11-15 · 29.1 KB · v2.9.02026-11-16 · 29.1 KB · v2.9.02026-11-16 · 29.1 KB · v2.9.02026-11-17 · 29.1 KB · v2.9.02026-11-17 · 29.1 KB · v2.9.02026-11-18 · 29.1 KB · v2.9.02026-11-18 · 29.1 KB · v2.9.02026-11-19 · 29.1 KB · v2.9.02026-11-20 · 29.1 KB · v2.9.0