Test name | Executions per second |
---|---|
Lodash cloneDeep | 403349.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 5414616.0 Ops/sec |
Native JSON parse | 393840.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5425973.5 Ops/sec |
Native map(shallow clone) | 10701115.0 Ops/sec |
Recursive deep clone | 327795.3 Ops/sec |
Map deep clone | 373406.8 Ops/sec |
Object.assign shallow clone | 6004192.5 Ops/sec |