Test name | Executions per second |
---|---|
Lodash cloneDeep | 427318.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 5792286.0 Ops/sec |
Native JSON parse | 446302.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5816398.5 Ops/sec |
Native map(shallow clone) | 11410750.0 Ops/sec |
Recursive deep clone | 361188.9 Ops/sec |
Map deep clone | 347317.0 Ops/sec |
Object.assign shallow clone | 4315260.0 Ops/sec |