Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Linux
Desktop
one year ago
JSON.stringify + JSON.parse
2.0M/s
structuredClone
654K/s
View exact numbers
Test name Executions per second
JSON.stringify + JSON.parse 1,964,577 Ops/sec
structuredClone 653,691 Ops/sec
Script Preparation code:
Tests: