JSON.parse vs JSON.stringifyFastest: JSON.stringify (1.3x faster)
3,972,739 ops/sec
3,083,701 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| JSON.parse | |
| JSON.stringify |
| Test name | Executions per second |
|---|---|
| ✓ JSON.stringify | 6,987,998 Ops/sec |
| JSON.parse | 3,960,093 Ops/sec |