lodash Level 5 vs underscore Level 5 vs JSON.stringify Level 5 vs react-fast-compare Level 5Fastest: react-fast-compare Level 5 (153.8x faster)
97,076,208 ops/sec
70,803,472 ops/sec
1,909,066 ops/sec
631,088 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| lodash Level 5 | |
| underscore Level 5 | |
| JSON.stringify Level 5 | |
| react-fast-compare Level 5 |
| Test name | Executions per second |
|---|---|
| ✓ react-fast-compare Level 5 | 147,962,096 Ops/sec |
| underscore Level 5 | 118,403,632 Ops/sec |
| JSON.stringify Level 5 | 2,862,459 Ops/sec |
| lodash Level 5 | 846,955 Ops/sec |