Test name | Executions per second |
---|---|
Lodash cloneDeep | 426211.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 6080222.0 Ops/sec |
Native JSON parse | 505649.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6093609.0 Ops/sec |
Native map(shallow clone) | 11377859.0 Ops/sec |
Recursive deep clone | 382335.1 Ops/sec |
Map deep clone | 420531.2 Ops/sec |
Object.assign shallow clone | 6739387.0 Ops/sec |