Test name | Executions per second |
---|---|
Lodash cloneDeep | 510326.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 6596735.0 Ops/sec |
Native JSON parse | 825075.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6704164.5 Ops/sec |
Native map(shallow clone) | 11947792.0 Ops/sec |
Recursive deep clone | 494897.6 Ops/sec |
Map deep clone | 537188.0 Ops/sec |
Object.assign shallow clone | 7250878.0 Ops/sec |