Test name | Executions per second |
---|---|
Lodash cloneDeep | 267957.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 4215217.5 Ops/sec |
Native JSON parse | 296485.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 4237271.0 Ops/sec |
Native map(shallow clone) | 8145807.0 Ops/sec |
Recursive deep clone | 265327.4 Ops/sec |
Map deep clone | 290489.2 Ops/sec |
Object.assign shallow clone | 4086261.0 Ops/sec |