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())
557K/s
±0.27%
strucutredClone
407K/s
±2.63%
View exact numbers
| Test name |
Executions per second |
|
✓
JSON.parse(JSON.stringify())
|
556,956 Ops/sec
±0.27%
|
|
strucutredClone
|
407,499 Ops/sec
±2.63%
|
Tests:
-
strucutredClone
-
JSON.parse(JSON.stringify())