Test name | Executions per second |
---|---|
Lodash cloneDeep | 61383.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 4365695.0 Ops/sec |
Native JSON parse | 124527.6 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 4891479.0 Ops/sec |
Native map(shallow clone) | 12891543.0 Ops/sec |
Recursive deep clone | 208659.7 Ops/sec |
Map deep clone | 153674.6 Ops/sec |
Object.assign shallow clone | 7641199.5 Ops/sec |