HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 12 community runs

Desktop Results:
Chrome 12 runs
JSON.parse()
6.4M/s
js-yaml
704K/s
yaml
106K/s

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

View exact numbers
  • JSON.parse(): 6,386,245 ops/sec
  • js-yaml: 704,420 ops/sec
  • yaml: 106,374 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
    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.5M/s
js-yaml
753K/s
yaml
70K/s
View exact numbers
Test name Executions per second
JSON.parse() 5,526,124 Ops/sec
js-yaml 752,773 Ops/sec
yaml 69,723 Ops/sec