Test name | Executions per second |
---|---|
Lodash cloneDeep | 193982.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 1921504.2 Ops/sec |
Native JSON parse | 131644.6 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1628008.9 Ops/sec |
Native map(shallow clone) | 3128451.8 Ops/sec |
Recursive deep clone | 95497.8 Ops/sec |
Map deep clone | 83815.8 Ops/sec |
Object.assign shallow clone | 1229895.1 Ops/sec |