Test name | Executions per second |
---|---|
Lodash cloneDeep | 88996.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 1050667.2 Ops/sec |
Native JSON parse | 71590.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 911256.2 Ops/sec |
Native map(shallow clone) | 1868117.1 Ops/sec |
Recursive deep clone | 58737.7 Ops/sec |
Map deep clone | 34578.6 Ops/sec |
Object.assign shallow clone | 301010.0 Ops/sec |