Test name | Executions per second |
---|---|
Lodash cloneDeep | 420228.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 5491546.5 Ops/sec |
Native JSON parse | 436689.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5451037.5 Ops/sec |
Native map(shallow clone) | 10810387.0 Ops/sec |
Recursive deep clone | 317104.6 Ops/sec |
Map deep clone | 350997.7 Ops/sec |
Object.assign shallow clone | 3820213.0 Ops/sec |