Test name | Executions per second |
---|---|
Lodash cloneDeep | 402421.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 5811646.0 Ops/sec |
Native JSON parse | 571799.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5864529.5 Ops/sec |
Native map(shallow clone) | 10146654.0 Ops/sec |
Recursive deep clone | 373064.9 Ops/sec |
Map deep clone | 411454.7 Ops/sec |
Object.assign shallow clone | 6569613.0 Ops/sec |