Test name | Executions per second |
---|---|
Lodash cloneDeep | 242881.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 2357424.2 Ops/sec |
Native JSON parse | 190370.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2826584.0 Ops/sec |
Native map(shallow clone) | 5399803.5 Ops/sec |
Recursive deep clone | 147225.3 Ops/sec |
Map deep clone | 162688.9 Ops/sec |
Object.assign shallow clone | 2456456.8 Ops/sec |