Test name | Executions per second |
---|---|
Lodash cloneDeep | 206517.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 2712394.2 Ops/sec |
Native JSON parse | 208191.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2659937.2 Ops/sec |
Native map(shallow clone) | 5107051.5 Ops/sec |
Recursive deep clone | 149084.0 Ops/sec |
Map deep clone | 164150.5 Ops/sec |
Object.assign shallow clone | 2922523.5 Ops/sec |