Test name | Executions per second |
---|---|
Lodash cloneDeep | 204391.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 3574705.2 Ops/sec |
Native JSON parse | 218635.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3472173.0 Ops/sec |
Native map(shallow clone) | 6388101.0 Ops/sec |
Recursive deep clone | 186725.8 Ops/sec |
Map deep clone | 205310.4 Ops/sec |
Object.assign shallow clone | 3405717.5 Ops/sec |