Test name | Executions per second |
---|---|
Lodash cloneDeep | 438998.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 6078391.0 Ops/sec |
Native JSON parse | 485771.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6133405.5 Ops/sec |
Native map(shallow clone) | 12363306.0 Ops/sec |
Recursive deep clone | 394209.0 Ops/sec |
Map deep clone | 440410.6 Ops/sec |
Object.assign shallow clone | 7116644.5 Ops/sec |