Test name | Executions per second |
---|---|
Lodash cloneDeep | 311963.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 4671460.5 Ops/sec |
Native JSON parse | 324527.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 4684731.5 Ops/sec |
Native map(shallow clone) | 9103349.0 Ops/sec |
Recursive deep clone | 289987.2 Ops/sec |
Map deep clone | 317978.8 Ops/sec |
Object.assign shallow clone | 4883501.0 Ops/sec |