Test name | Executions per second |
---|---|
Lodash cloneDeep | 214123.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 3196107.0 Ops/sec |
Native JSON parse | 232451.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3026073.8 Ops/sec |
Native map(shallow clone) | 5207464.5 Ops/sec |
Recursive deep clone | 144477.4 Ops/sec |
Map deep clone | 171284.2 Ops/sec |
Object.assign shallow clone | 2513783.2 Ops/sec |