Test name | Executions per second |
---|---|
Lodash cloneDeep | 213079.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 2601686.5 Ops/sec |
Native JSON parse | 233724.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2584539.5 Ops/sec |
Native map(shallow clone) | 4949772.0 Ops/sec |
Recursive deep clone | 163911.4 Ops/sec |
Map deep clone | 177653.9 Ops/sec |
Object.assign shallow clone | 2878082.0 Ops/sec |