Test name | Executions per second |
---|---|
Lodash cloneDeep | 253063.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 3288609.5 Ops/sec |
Native JSON parse | 263808.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3295985.0 Ops/sec |
Native map(shallow clone) | 6279403.0 Ops/sec |
Recursive deep clone | 203476.0 Ops/sec |
Map deep clone | 223554.1 Ops/sec |
Object.assign shallow clone | 3506156.2 Ops/sec |