Test name | Executions per second |
---|---|
Lodash cloneDeep | 125340.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 1765744.4 Ops/sec |
Native JSON parse | 148636.6 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1780765.4 Ops/sec |
Native map(shallow clone) | 3453733.0 Ops/sec |
Recursive deep clone | 107428.5 Ops/sec |
Map deep clone | 118103.9 Ops/sec |
Object.assign shallow clone | 1213768.6 Ops/sec |