Test name | Executions per second |
---|---|
Lodash cloneDeep | 119698.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 7092600.5 Ops/sec |
Native JSON parse | 248852.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 7697128.5 Ops/sec |
Native map(shallow clone) | 21106284.0 Ops/sec |
Recursive deep clone | 514351.8 Ops/sec |
Map deep clone | 526528.2 Ops/sec |
Object.assign shallow clone | 11636358.0 Ops/sec |