Test name | Executions per second |
---|---|
Lodash cloneDeep | 237741.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 3092625.5 Ops/sec |
Native JSON parse | 256098.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3061716.5 Ops/sec |
Native map(shallow clone) | 6131852.0 Ops/sec |
Recursive deep clone | 189198.2 Ops/sec |
Map deep clone | 209140.9 Ops/sec |
Object.assign shallow clone | 3305284.0 Ops/sec |