Test name | Executions per second |
---|---|
Lodash cloneDeep | 180130.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 2977133.8 Ops/sec |
Native JSON parse | 191743.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3055139.0 Ops/sec |
Native map(shallow clone) | 5730505.0 Ops/sec |
Recursive deep clone | 194040.3 Ops/sec |
Map deep clone | 212309.7 Ops/sec |
Object.assign shallow clone | 3325774.5 Ops/sec |