Test name | Executions per second |
---|---|
Lodash cloneDeep | 209855.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 3419736.0 Ops/sec |
Native JSON parse | 244425.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3443685.0 Ops/sec |
Native map(shallow clone) | 6906055.0 Ops/sec |
Recursive deep clone | 206760.8 Ops/sec |
Map deep clone | 226872.3 Ops/sec |
Object.assign shallow clone | 3569110.2 Ops/sec |