Test name | Executions per second |
---|---|
Lodash cloneDeep | 438329.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 6125937.0 Ops/sec |
Native JSON parse | 432932.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6101973.5 Ops/sec |
Native map(shallow clone) | 12070620.0 Ops/sec |
Recursive deep clone | 371621.1 Ops/sec |
Map deep clone | 409085.9 Ops/sec |
Object.assign shallow clone | 6817899.0 Ops/sec |