Test name | Executions per second |
---|---|
Lodash cloneDeep | 266581.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 3988547.2 Ops/sec |
Native JSON parse | 308358.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3981152.0 Ops/sec |
Native map(shallow clone) | 7839321.5 Ops/sec |
Recursive deep clone | 256184.2 Ops/sec |
Map deep clone | 254003.7 Ops/sec |
Object.assign shallow clone | 4106508.0 Ops/sec |