Test name | Executions per second |
---|---|
Lodash cloneDeep | 455908.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 6661457.0 Ops/sec |
Native JSON parse | 581195.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6644431.5 Ops/sec |
Native map(shallow clone) | 12674251.0 Ops/sec |
Recursive deep clone | 426130.6 Ops/sec |
Map deep clone | 463116.2 Ops/sec |
Object.assign shallow clone | 7231225.0 Ops/sec |