Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Ubuntu
Desktop
2 years ago
Benchmark.js
strucutredClone
128K/s ±2.90%
JSON.parse(JSON.stringify())
93K/s ±2.60%
View exact numbers
Test name Executions per second
✓ strucutredClone 128,286 Ops/sec ±2.90%
JSON.parse(JSON.stringify()) 92,671 Ops/sec ±2.60%
Script Preparation code:
Tests: