Test name | Executions per second |
---|---|
Lodash cloneDeep | 109822.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 1383958.1 Ops/sec |
Native JSON parse | 113449.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1266365.2 Ops/sec |
Native map(shallow clone) | 2551601.8 Ops/sec |
Recursive deep clone | 85846.3 Ops/sec |
Map deep clone | 87983.7 Ops/sec |
Object.assign shallow clone | 1029163.1 Ops/sec |