Test name | Executions per second |
---|---|
Lodash cloneDeep | 32664.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 605603.6 Ops/sec |
Native JSON parse | 61992.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 587849.0 Ops/sec |
Native map(shallow clone) | 1048086.8 Ops/sec |
Recursive deep clone | 62152.3 Ops/sec |
Map deep clone | 49118.9 Ops/sec |
Object.assign shallow clone | 963393.8 Ops/sec |