Test name | Executions per second |
---|---|
Lodash cloneDeep | 275724.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 3272967.2 Ops/sec |
Native JSON parse | 276958.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3192590.5 Ops/sec |
Native map(shallow clone) | 6120238.5 Ops/sec |
Recursive deep clone | 214340.1 Ops/sec |
Map deep clone | 234795.2 Ops/sec |
Object.assign shallow clone | 3396037.8 Ops/sec |