Test name | Executions per second |
---|---|
Lodash cloneDeep | 234444.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 3356385.0 Ops/sec |
Native JSON parse | 248497.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3329021.2 Ops/sec |
Native map(shallow clone) | 6615005.5 Ops/sec |
Recursive deep clone | 192901.2 Ops/sec |
Map deep clone | 219016.6 Ops/sec |
Object.assign shallow clone | 3606845.5 Ops/sec |