Test name | Executions per second |
---|---|
Lodash cloneDeep | 187991.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 2469789.5 Ops/sec |
Native JSON parse | 221882.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2485230.8 Ops/sec |
Native map(shallow clone) | 4659272.0 Ops/sec |
Recursive deep clone | 158120.7 Ops/sec |
Map deep clone | 173510.1 Ops/sec |
Object.assign shallow clone | 2740711.0 Ops/sec |