Test name | Executions per second |
---|---|
Lodash cloneDeep | 496030.4 Ops/sec |
Native map deep slice(turns objects into arrays) | 6928946.5 Ops/sec |
Native JSON parse | 563747.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6971753.5 Ops/sec |
Native map(shallow clone) | 13619704.0 Ops/sec |
Recursive deep clone | 419696.2 Ops/sec |
Map deep clone | 465224.8 Ops/sec |
Object.assign shallow clone | 7117995.5 Ops/sec |