Test name | Executions per second |
---|---|
Lodash cloneDeep | 390716.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 5144184.5 Ops/sec |
Native JSON parse | 411698.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5256649.0 Ops/sec |
Native map(shallow clone) | 10220864.0 Ops/sec |
Recursive deep clone | 319720.9 Ops/sec |
Map deep clone | 359959.1 Ops/sec |
Object.assign shallow clone | 5641423.0 Ops/sec |