Test name | Executions per second |
---|---|
Lodash cloneDeep | 382249.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 3880059.8 Ops/sec |
Native JSON parse | 675716.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3888894.5 Ops/sec |
Native map(shallow clone) | 9231517.0 Ops/sec |
Recursive deep clone | 447897.3 Ops/sec |
Map deep clone | 479478.2 Ops/sec |
Object.assign shallow clone | 6699138.0 Ops/sec |