Test name | Executions per second |
---|---|
Lodash cloneDeep | 155237.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 8297630.0 Ops/sec |
Native JSON parse | 292898.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 8135370.0 Ops/sec |
Native map(shallow clone) | 23765868.0 Ops/sec |
Recursive deep clone | 794440.2 Ops/sec |
Map deep clone | 802642.6 Ops/sec |
Object.assign shallow clone | 13125646.0 Ops/sec |