Test name | Executions per second |
---|---|
Lodash cloneDeep | 413357.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 3486732.5 Ops/sec |
Native JSON parse | 641333.6 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3486129.8 Ops/sec |
Native map(shallow clone) | 6674117.5 Ops/sec |
Recursive deep clone | 1743695.4 Ops/sec |
Map deep clone | 1647437.9 Ops/sec |
Object.assign shallow clone | 4712513.5 Ops/sec |