Test name | Executions per second |
---|---|
Lodash cloneDeep | 120589.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 1344063.1 Ops/sec |
Native JSON parse | 106527.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1382642.0 Ops/sec |
Native map(shallow clone) | 2493773.0 Ops/sec |
Recursive deep clone | 95362.2 Ops/sec |
Map deep clone | 106087.0 Ops/sec |
Object.assign shallow clone | 1418026.8 Ops/sec |