immer.produce() vs _.cloneDeepFastest: immer.produce() (16769.1x faster)
639,654 ops/sec
38 ops/sec
Fastest: immer.produce() (20860.3x faster)
805,277 ops/sec
39 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| immer.produce() | |
| _.cloneDeep |
| Test name | Executions per second |
|---|---|
| ✓ immer.produce() | 459,695 Ops/sec |
| _.cloneDeep | 65 Ops/sec |