Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:146.0) Gecko/20100101 Firefox/146.0
Firefox 146
Linux
Desktop
6 months ago
strucutredClone
376K/s
JSON.parse(JSON.stringify())
240K/s
View exact numbers
Test name Executions per second
strucutredClone 375,575 Ops/sec
JSON.parse(JSON.stringify()) 240,419 Ops/sec
Script Preparation code:
Tests: