Test name | Executions per second |
---|---|
Lodash cloneDeep | 166881.4 Ops/sec |
Native map deep slice(turns objects into arrays) | 2416701.2 Ops/sec |
Native JSON parse | 160360.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2412502.5 Ops/sec |
Native map(shallow clone) | 4508975.5 Ops/sec |
Recursive deep clone | 148447.2 Ops/sec |
Map deep clone | 162633.1 Ops/sec |
Object.assign shallow clone | 2532952.5 Ops/sec |