Test name | Executions per second |
---|---|
Lodash cloneDeep | 388147.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 5075446.0 Ops/sec |
Native JSON parse | 364383.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5000841.5 Ops/sec |
Native map(shallow clone) | 9820921.0 Ops/sec |
Recursive deep clone | 297040.7 Ops/sec |
Map deep clone | 322346.7 Ops/sec |
Object.assign shallow clone | 3321158.2 Ops/sec |