JSON parse and stringify vs lodash cloneDeep vs structuredClone() | Test case name | Result |
|---|---|
| JSON parse and stringify | |
| lodash cloneDeep | |
| structuredClone() |
| Test name | Executions per second |
|---|---|
| ✓ JSON parse and stringify | 127,673 Ops/sec |
| structuredClone() | 72,816 Ops/sec |
| lodash cloneDeep | 68,978 Ops/sec |