Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
Chrome 147
Mac OS X 10.15.7
Desktop
5 months ago
Benchmark.js
JSON.parse(JSON.stringify())
542K/s
±0.30%
strucutredClone
392K/s
±1.58%
View exact numbers
| Test name |
Executions per second |
|
✓
JSON.parse(JSON.stringify())
|
541,928 Ops/sec
±0.30%
|
|
strucutredClone
|
392,238 Ops/sec
±1.58%
|
Tests:
-
strucutredClone
-
JSON.parse(JSON.stringify())