Test name | Executions per second |
---|---|
Lodash cloneDeep | 341111.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 4618220.0 Ops/sec |
Native JSON parse | 363861.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 4728443.0 Ops/sec |
Native map(shallow clone) | 8107441.5 Ops/sec |
Recursive deep clone | 186257.1 Ops/sec |
Map deep clone | 222764.3 Ops/sec |
Object.assign shallow clone | 3142121.2 Ops/sec |