JSON.stringify vs react-fast-compare vs lodashFastest: react-fast-compare (10.9x faster)
4,984,200 ops/sec
1,413,287 ops/sec
459,368 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| JSON.stringify | |
| react-fast-compare | |
| lodash |
| Test name | Executions per second |
|---|---|
| ✓ react-fast-compare | 1,848,472 Ops/sec |
| JSON.stringify | 1,516,499 Ops/sec |
| lodash | 41,103 Ops/sec |