Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128
Linux
Desktop
one year ago
Benchmark.js
JSON.parse()
5.5M/s
js-yaml
699K/s
yaml
114K/s
View exact numbers
Test name Executions per second
JSON.parse() 5,515,110 Ops/sec
js-yaml 699,255 Ops/sec
yaml 113,752 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: