Test name | Executions per second |
---|---|
Lodash cloneDeep | 180088.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 2470233.2 Ops/sec |
Native JSON parse | 152822.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2450419.5 Ops/sec |
Native map(shallow clone) | 4883433.5 Ops/sec |
Recursive deep clone | 156654.9 Ops/sec |
Map deep clone | 172190.5 Ops/sec |
Object.assign shallow clone | 2592436.5 Ops/sec |