Test name | Executions per second |
---|---|
Lodash cloneDeep | 162864.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 1772925.8 Ops/sec |
Native JSON parse | 115427.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1733909.6 Ops/sec |
Native map(shallow clone) | 3309881.2 Ops/sec |
Recursive deep clone | 108453.3 Ops/sec |
Map deep clone | 119112.4 Ops/sec |
Object.assign shallow clone | 1856045.9 Ops/sec |