Test name | Executions per second |
---|---|
Lodash cloneDeep | 239112.4 Ops/sec |
Native map deep slice(turns objects into arrays) | 3438837.2 Ops/sec |
Native JSON parse | 296702.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3421330.8 Ops/sec |
Native map(shallow clone) | 6668780.5 Ops/sec |
Recursive deep clone | 221073.5 Ops/sec |
Map deep clone | 241477.0 Ops/sec |
Object.assign shallow clone | 3699781.5 Ops/sec |