JSON.stringify vs object-hashFastest: JSON.stringify (221.3x faster)
3,979,063 ops/sec
17,984 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 | 4,366,312 Ops/sec |
| object-hash | 17,984 Ops/sec |