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
one year ago
Benchmark.js
JSON.parse(JSON.stringify())
193K/s ±0.29%
strucutredClone
131K/s ±1.96%
View exact numbers
Test name Executions per second
✓ JSON.parse(JSON.stringify()) 192,594 Ops/sec ±0.29%
strucutredClone 131,297 Ops/sec ±1.96%
Script Preparation code:
Tests: