Test name | Executions per second |
---|---|
Lodash cloneDeep | 122199.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 1435015.9 Ops/sec |
Native JSON parse | 133431.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1413138.1 Ops/sec |
Native map(shallow clone) | 3297716.5 Ops/sec |
Recursive deep clone | 111208.6 Ops/sec |
Map deep clone | 121854.6 Ops/sec |
Object.assign shallow clone | 1880821.1 Ops/sec |