PulseAugur
EN
LIVE 23:25:36

JSON.parse(JSON.stringify()) outperforms structuredClone in Node 22 benchmarks

A recent benchmark on Node 22 indicates that the traditional JSON.parse(JSON.stringify()) method for deep cloning objects is significantly faster than the newer structuredClone function. Across various object sizes and depths, the JSON method proved 1.6 to 1.75 times quicker. However, structuredClone offers broader compatibility, correctly handling data types like Dates and Maps, and preserving circular references, which the JSON method fails to do or silently drops. The performance advantage of the JSON method is most relevant in scenarios involving a high volume of cloning operations. AI

RANK_REASON This is a technical comparison and benchmark of JavaScript methods, not a release or significant industry event.

Read on dev.to — Claude Code tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

JSON.parse(JSON.stringify()) outperforms structuredClone in Node 22 benchmarks

How we ranked this

Signal score
1 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Commentary
This is a technical comparison and benchmark of JavaScript methods, not a release or significant industry event.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
Low
Off-topic or adjacent — cluster remains reachable but doesn't surface in AI-industry rankings.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · RAXXO Studios ·

    structuredClone vs JSON.stringify: I Timed Both on Node 22

    <ul> <li><p>On Node 22, JSON.parse(JSON.stringify()) cloned objects 1.6 to 1.75 times faster than structuredClone across three sizes</p></li> <li><p>structuredClone handles Dates, Maps and circular references that the JSON method silently breaks or drops</p></li> <li><p>I benchma…