Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Chrome 146
Mac OS X 10.15.7
Desktop
6 months ago
Benchmark.js
JSON.parse(JSON.stringify())
430K/s
±0.23%
strucutredClone
307K/s
±1.48%
View exact numbers
| Test name |
Executions per second |
|
✓
JSON.parse(JSON.stringify())
|
430,267 Ops/sec
±0.23%
|
|
strucutredClone
|
307,141 Ops/sec
±1.48%
|
Tests:
-
strucutredClone
-
JSON.parse(JSON.stringify())