Test name | Executions per second |
---|---|
Lodash cloneDeep | 186174.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 2552714.0 Ops/sec |
Native JSON parse | 179369.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2729975.8 Ops/sec |
Native map(shallow clone) | 5215655.5 Ops/sec |
Recursive deep clone | 158863.9 Ops/sec |
Map deep clone | 171813.4 Ops/sec |
Object.assign shallow clone | 2770130.0 Ops/sec |