Test name | Executions per second |
---|---|
Lodash cloneDeep | 166262.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 2090931.5 Ops/sec |
Native JSON parse | 185624.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2187046.8 Ops/sec |
Native map(shallow clone) | 4185014.0 Ops/sec |
Recursive deep clone | 144202.4 Ops/sec |
Map deep clone | 156201.2 Ops/sec |
Object.assign shallow clone | 2400922.0 Ops/sec |