Test name | Executions per second |
---|---|
Lodash cloneDeep | 177245.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 2333079.2 Ops/sec |
Native JSON parse | 242594.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2932719.8 Ops/sec |
Native map(shallow clone) | 5623915.5 Ops/sec |
Recursive deep clone | 173661.0 Ops/sec |
Map deep clone | 190516.8 Ops/sec |
Object.assign shallow clone | 1894513.2 Ops/sec |