JSON.stringify vs object-hashFastest: JSON.stringify (228.2x faster)
3,924,005 ops/sec
17,199 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 | |
| object-hash |
| Test name | Executions per second |
|---|---|
| ✓ JSON.stringify | 2,570,656 Ops/sec |
| object-hash | 10,433 Ops/sec |