_.isEqual vs JSON.stringifyFastest: _.isEqual (2.7x faster)
1,033,681 ops/sec
380,946 ops/sec
597,280 ops/sec
576,516 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| _.isEqual | |
| JSON.stringify |
| Test name | Executions per second |
|---|---|
| ✓ _.isEqual | 907,685 Ops/sec |
| JSON.stringify | 359,444 Ops/sec |