Test name | Executions per second |
---|---|
Lodash cloneDeep | 88077.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 1004143.4 Ops/sec |
Native JSON parse | 90983.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1032447.1 Ops/sec |
Native map(shallow clone) | 1032260.4 Ops/sec |
Recursive deep clone | 88659.2 Ops/sec |
Map deep clone | 91582.6 Ops/sec |
Object.assign shallow clone | 1357684.6 Ops/sec |