Test name | Executions per second |
---|---|
Lodash cloneDeep | 216954.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 3293371.0 Ops/sec |
Native JSON parse | 221116.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3298624.5 Ops/sec |
Native map(shallow clone) | 6332101.5 Ops/sec |
Recursive deep clone | 190300.3 Ops/sec |
Map deep clone | 204562.1 Ops/sec |
Object.assign shallow clone | 3394554.0 Ops/sec |