Test name | Executions per second |
---|---|
Lodash cloneDeep | 406835.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 5616791.0 Ops/sec |
Native JSON parse | 438077.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5632984.5 Ops/sec |
Native map(shallow clone) | 10937405.0 Ops/sec |
Recursive deep clone | 310643.0 Ops/sec |
Map deep clone | 343799.3 Ops/sec |
Object.assign shallow clone | 5956644.5 Ops/sec |