Test name | Executions per second |
---|---|
Lodash cloneDeep | 197183.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 2548808.0 Ops/sec |
Native JSON parse | 207365.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2483185.5 Ops/sec |
Native map(shallow clone) | 4569142.5 Ops/sec |
Recursive deep clone | 159813.3 Ops/sec |
Map deep clone | 177473.5 Ops/sec |
Object.assign shallow clone | 2772223.2 Ops/sec |