Test name | Executions per second |
---|---|
Lodash cloneDeep | 448926.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 7432741.5 Ops/sec |
Native JSON parse | 444756.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 7399679.5 Ops/sec |
Native map(shallow clone) | 14738693.0 Ops/sec |
Recursive deep clone | 469802.9 Ops/sec |
Map deep clone | 515092.1 Ops/sec |
Object.assign shallow clone | 8346978.0 Ops/sec |