JSON.parse() vs js-yamlFastest: JSON.parse() (5.1x faster)
4,618,290 ops/sec
903,689 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() | |
| js-yaml |
| Test name | Executions per second |
|---|---|
| ✓ JSON.parse() | 5,207,744 Ops/sec |
| js-yaml | 749,164 Ops/sec |