Test name | Executions per second |
---|---|
Lodash cloneDeep | 283431.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 3591740.2 Ops/sec |
Native JSON parse | 268233.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3144267.0 Ops/sec |
Native map(shallow clone) | 5979839.5 Ops/sec |
Recursive deep clone | 197020.4 Ops/sec |
Map deep clone | 231053.7 Ops/sec |
Object.assign shallow clone | 3121362.0 Ops/sec |