Test name | Executions per second |
---|---|
Lodash cloneDeep | 125394.4 Ops/sec |
Native map deep slice(turns objects into arrays) | 1248974.5 Ops/sec |
Native JSON parse | 185764.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 806528.7 Ops/sec |
Native map(shallow clone) | 2677537.8 Ops/sec |
Recursive deep clone | 131738.8 Ops/sec |
Map deep clone | 142461.7 Ops/sec |
Object.assign shallow clone | 1995998.8 Ops/sec |