Test name | Executions per second |
---|---|
Lodash cloneDeep | 178811.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 2280344.2 Ops/sec |
Native JSON parse | 200179.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2312323.8 Ops/sec |
Native map(shallow clone) | 4440439.5 Ops/sec |
Recursive deep clone | 140414.5 Ops/sec |
Map deep clone | 128218.8 Ops/sec |
Object.assign shallow clone | 2285443.2 Ops/sec |