Test name | Executions per second |
---|---|
Lodash cloneDeep | 190621.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 2720241.0 Ops/sec |
Native JSON parse | 167257.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2246669.0 Ops/sec |
Native map(shallow clone) | 4941057.0 Ops/sec |
Recursive deep clone | 158718.3 Ops/sec |
Map deep clone | 177528.8 Ops/sec |
Object.assign shallow clone | 2870202.2 Ops/sec |