Test name | Executions per second |
---|---|
Lodash cloneDeep | 187850.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 3013905.2 Ops/sec |
Native JSON parse | 227345.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2598828.0 Ops/sec |
Native map(shallow clone) | 5553163.5 Ops/sec |
Recursive deep clone | 174441.0 Ops/sec |
Map deep clone | 185494.2 Ops/sec |
Object.assign shallow clone | 3105487.8 Ops/sec |