Lodash cloneDeep vs Native structuredClone vs clone(); vs _cloneDeep custom underscore/lodash| Test case name | Result |
|---|---|
| Lodash cloneDeep | |
| Native structuredClone | |
| clone(); | |
| _cloneDeep custom underscore/lodash |
| Test name | Executions per second |
|---|---|
| ✓ Native structuredClone | 22,212 Ops/sec |
| Lodash cloneDeep | 19,246 Ops/sec |
| _cloneDeep custom underscore/lodash | 12,064 Ops/sec |
| clone(); | 183 Ops/sec |