Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
Chrome 141
Linux
Desktop
9 months ago
JSON.stringify + JSON.parse
1.3M/s
structuredClone
510K/s
View exact numbers
Test name Executions per second
JSON.stringify + JSON.parse 1,325,090 Ops/sec
structuredClone 509,584 Ops/sec
Script Preparation code:
Tests: