Lodash cloneDeep vs Native structuredClone vs JSON.stringifyFastest: Lodash cloneDeep (2.7x faster)
1,276,589 ops/sec
1,199,975 ops/sec
468,366 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Lodash cloneDeep | |
| Native structuredClone | |
| JSON.stringify |
| Test name | Executions per second |
|---|---|
| ✓ Lodash cloneDeep | 1,267,730 Ops/sec |
| JSON.stringify | 1,209,937 Ops/sec |
| Native structuredClone | 459,076 Ops/sec |