Test name | Executions per second |
---|---|
Lodash cloneDeep | 382001.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 5207370.5 Ops/sec |
Native JSON parse | 376875.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5197467.0 Ops/sec |
Native map(shallow clone) | 10365381.0 Ops/sec |
Recursive deep clone | 297697.7 Ops/sec |
Map deep clone | 334199.8 Ops/sec |
Object.assign shallow clone | 5739441.5 Ops/sec |