Test name | Executions per second |
---|---|
Lodash cloneDeep | 86241.4 Ops/sec |
Native map deep slice(turns objects into arrays) | 5789354.5 Ops/sec |
Native JSON parse | 165998.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6140592.5 Ops/sec |
Native map(shallow clone) | 15502274.0 Ops/sec |
Recursive deep clone | 237061.6 Ops/sec |
Map deep clone | 128811.8 Ops/sec |
Object.assign shallow clone | 7217350.0 Ops/sec |