Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135
Linux
Desktop
one year ago
JSON.stringify + JSON.parse
1.3M/s
structuredClone
480K/s
View exact numbers
Test name Executions per second
JSON.stringify + JSON.parse 1,320,929 Ops/sec
structuredClone 480,172 Ops/sec
Script Preparation code:
Tests: