HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
JSON.parse()
4.6M/s
js-yaml
904K/s

Fastest: JSON.parse() (5.1x faster)

View exact numbers
  • JSON.parse(): 4,618,290 ops/sec
  • js-yaml: 903,689 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    JSON.parse()
    js-yaml

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Mobile Safari/537.36 EdgA/138.0.0.0
Chrome Mobile 138 on Android
View result in a separate tab
JSON.parse()
5.2M/s
js-yaml
749K/s
View exact numbers
Test name Executions per second
JSON.parse() 5,207,744 Ops/sec
js-yaml 749,164 Ops/sec