Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Chrome 146
Linux
Desktop
3 months ago
JSON.parse(JSON.stringify())
94K/s
strucutredClone
52K/s
View exact numbers
Test name Executions per second
JSON.parse(JSON.stringify()) 93,693 Ops/sec
strucutredClone 51,529 Ops/sec
Script Preparation code:
Tests: