Test name | Executions per second |
---|---|
Lodash cloneDeep | 128119.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 1717365.5 Ops/sec |
Native JSON parse | 157350.6 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1776121.5 Ops/sec |
Native map(shallow clone) | 3416260.0 Ops/sec |
Recursive deep clone | 107101.2 Ops/sec |
Map deep clone | 116177.7 Ops/sec |
Object.assign shallow clone | 1849138.2 Ops/sec |