Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36
Chrome 149
Mac OS X 10.15.7
Desktop
4 months ago
Benchmark.js
JSON.parse(JSON.stringify())
531K/s
±0.29%
strucutredClone
390K/s
±2.42%
View exact numbers
| Test name |
Executions per second |
|
✓
JSON.parse(JSON.stringify())
|
531,403 Ops/sec
±0.29%
|
|
strucutredClone
|
390,380 Ops/sec
±2.42%
|
Tests:
-
strucutredClone
-
JSON.parse(JSON.stringify())