Test name | Executions per second |
---|---|
Lodash cloneDeep | 449705.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 6159813.0 Ops/sec |
Native JSON parse | 677652.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6200575.5 Ops/sec |
Native map(shallow clone) | 11176040.0 Ops/sec |
Recursive deep clone | 401503.9 Ops/sec |
Map deep clone | 444558.8 Ops/sec |
Object.assign shallow clone | 6735970.0 Ops/sec |