Test name | Executions per second |
---|---|
Lodash cloneDeep | 253964.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 3961281.5 Ops/sec |
Native JSON parse | 321384.6 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3966040.8 Ops/sec |
Native map(shallow clone) | 7487248.0 Ops/sec |
Recursive deep clone | 219909.7 Ops/sec |
Map deep clone | 240794.0 Ops/sec |
Object.assign shallow clone | 4048997.2 Ops/sec |