Test name | Executions per second |
---|---|
Lodash cloneDeep | 219135.4 Ops/sec |
Native map deep slice(turns objects into arrays) | 2778954.0 Ops/sec |
Native JSON parse | 251686.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2830461.0 Ops/sec |
Native map(shallow clone) | 5625414.0 Ops/sec |
Recursive deep clone | 167295.2 Ops/sec |
Map deep clone | 186519.9 Ops/sec |
Object.assign shallow clone | 2885050.5 Ops/sec |