Test name | Executions per second |
---|---|
Lodash cloneDeep | 186130.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 2459668.8 Ops/sec |
Native JSON parse | 227405.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2433687.5 Ops/sec |
Native map(shallow clone) | 4106378.8 Ops/sec |
Recursive deep clone | 174733.9 Ops/sec |
Map deep clone | 186026.8 Ops/sec |
Object.assign shallow clone | 3030295.0 Ops/sec |