Test name | Executions per second |
---|---|
Lodash cloneDeep | 104002.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 1286150.1 Ops/sec |
Native JSON parse | 113608.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1346100.2 Ops/sec |
Native map(shallow clone) | 2493667.5 Ops/sec |
Recursive deep clone | 90642.6 Ops/sec |
Map deep clone | 96214.5 Ops/sec |
Object.assign shallow clone | 1442638.6 Ops/sec |