Test name | Executions per second |
---|---|
Lodash cloneDeep | 407602.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 5259757.5 Ops/sec |
Native JSON parse | 368868.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5257065.0 Ops/sec |
Native map(shallow clone) | 10404767.0 Ops/sec |
Recursive deep clone | 299380.7 Ops/sec |
Map deep clone | 326315.8 Ops/sec |
Object.assign shallow clone | 5524130.0 Ops/sec |