Test name | Executions per second |
---|---|
Lodash cloneDeep | 168218.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 2340514.5 Ops/sec |
Native JSON parse | 196242.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2264780.8 Ops/sec |
Native map(shallow clone) | 4489539.5 Ops/sec |
Recursive deep clone | 149678.3 Ops/sec |
Map deep clone | 164017.6 Ops/sec |
Object.assign shallow clone | 2558191.0 Ops/sec |