Test name | Executions per second |
---|---|
Lodash cloneDeep | 60476.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 653639.9 Ops/sec |
Native JSON parse | 56708.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 654396.1 Ops/sec |
Native map(shallow clone) | 1304540.0 Ops/sec |
Recursive deep clone | 45690.4 Ops/sec |
Map deep clone | 49815.4 Ops/sec |
Object.assign shallow clone | 688868.6 Ops/sec |