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
6 months ago
Benchmark.js
JSON.parse(JSON.stringify())
92K/s ±1.41%
strucutredClone
50K/s ±3.53%
View exact numbers
Test name Executions per second
✓ JSON.parse(JSON.stringify()) 92,274 Ops/sec ±1.41%
strucutredClone 50,255 Ops/sec ±3.53%
Script Preparation code:
Tests: