Test name | Executions per second |
---|---|
Lodash cloneDeep | 191296.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 3191998.2 Ops/sec |
Native JSON parse | 222554.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3335908.5 Ops/sec |
Native map(shallow clone) | 6513568.5 Ops/sec |
Recursive deep clone | 175511.6 Ops/sec |
Map deep clone | 193558.3 Ops/sec |
Object.assign shallow clone | 3130676.8 Ops/sec |