Test name | Executions per second |
---|---|
Lodash cloneDeep | 68654.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 6566674.0 Ops/sec |
Native JSON parse | 165512.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6512880.5 Ops/sec |
Native map(shallow clone) | 15528510.0 Ops/sec |
Recursive deep clone | 343449.6 Ops/sec |
Map deep clone | 345561.6 Ops/sec |
Object.assign shallow clone | 6900692.5 Ops/sec |