Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Linux
Desktop
one year ago
Benchmark.js
JSON.parse()
13.0M/s
js-yaml
1.1M/s
yaml
150K/s
View exact numbers
Test name Executions per second
JSON.parse() 13,034,952 Ops/sec
js-yaml 1,054,208 Ops/sec
yaml 149,597 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: