Test name | Executions per second |
---|---|
Lodash cloneDeep | 150614.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 1646569.4 Ops/sec |
Native JSON parse | 131032.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1715195.1 Ops/sec |
Native map(shallow clone) | 3170418.0 Ops/sec |
Recursive deep clone | 114022.7 Ops/sec |
Map deep clone | 124894.7 Ops/sec |
Object.assign shallow clone | 1815282.6 Ops/sec |