Test name | Executions per second |
---|---|
Lodash cloneDeep | 206708.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 2992523.5 Ops/sec |
Native JSON parse | 212405.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2958054.8 Ops/sec |
Native map(shallow clone) | 5538164.0 Ops/sec |
Recursive deep clone | 178715.9 Ops/sec |
Map deep clone | 197396.2 Ops/sec |
Object.assign shallow clone | 3078402.8 Ops/sec |