Test name | Executions per second |
---|---|
Lodash cloneDeep | 178083.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 2522895.2 Ops/sec |
Native JSON parse | 156709.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2484199.5 Ops/sec |
Native map(shallow clone) | 4590410.5 Ops/sec |
Recursive deep clone | 139023.2 Ops/sec |
Map deep clone | 151352.4 Ops/sec |
Object.assign shallow clone | 2519543.8 Ops/sec |