Test name | Executions per second |
---|---|
Lodash cloneDeep | 159656.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 1832278.9 Ops/sec |
Native JSON parse | 160894.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1868173.4 Ops/sec |
Native map(shallow clone) | 3464993.2 Ops/sec |
Recursive deep clone | 126783.4 Ops/sec |
Map deep clone | 140486.6 Ops/sec |
Object.assign shallow clone | 2045701.8 Ops/sec |