Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Chrome 140
Linux
Desktop
10 months ago
JSON.parse(JSON.stringify())
193K/s
strucutredClone
131K/s
View exact numbers
Test name Executions per second
JSON.parse(JSON.stringify()) 192,594 Ops/sec
strucutredClone 131,297 Ops/sec
Script Preparation code:
Tests: