Test name | Executions per second |
---|---|
Lodash cloneDeep | 110755.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 4678768.5 Ops/sec |
Native JSON parse | 224523.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 4478211.0 Ops/sec |
Native map(shallow clone) | 7034023.0 Ops/sec |
Recursive deep clone | 531378.5 Ops/sec |
Map deep clone | 489645.8 Ops/sec |
Object.assign shallow clone | 13981986.0 Ops/sec |