Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36
Chrome Mobile 142
Android
Mobile
8 months ago
JSON.parse(JSON.stringify())
300K/s
strucutredClone
179K/s
View exact numbers
Test name Executions per second
JSON.parse(JSON.stringify()) 299,641 Ops/sec
strucutredClone 178,823 Ops/sec
Script Preparation code:
Tests: