Test name | Executions per second |
---|---|
Lodash cloneDeep | 340337.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 4547489.5 Ops/sec |
Native JSON parse | 383461.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 4528648.0 Ops/sec |
Native map(shallow clone) | 7991488.0 Ops/sec |
Recursive deep clone | 229669.3 Ops/sec |
Map deep clone | 268884.0 Ops/sec |
Object.assign shallow clone | 4790251.0 Ops/sec |