Test name | Executions per second |
---|---|
Lodash cloneDeep | 93632.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 1231690.6 Ops/sec |
Native JSON parse | 79563.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1013646.5 Ops/sec |
Native map(shallow clone) | 1137768.4 Ops/sec |
Recursive deep clone | 93616.8 Ops/sec |
Map deep clone | 104691.4 Ops/sec |
Object.assign shallow clone | 1520646.5 Ops/sec |