JSON.parse() vs js-yaml vs yamlFastest: JSON.parse() (60.0x faster)
6,386,245 ops/sec
704,420 ops/sec
106,374 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 | |
| yaml |
| Test name | Executions per second |
|---|---|
| ✓ JSON.parse() | 5,526,124 Ops/sec |
| js-yaml | 752,773 Ops/sec |
| yaml | 69,723 Ops/sec |