Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
yaml 1.10.2 vs js-yaml 4.0.0
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0
Browser:
Firefox 127
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
js-yaml
673800.7 Ops/sec
yaml
98014.6 Ops/sec
HTML Preparation code:
<script type="module"> import jsyaml from 'https://cdn.skypack.dev/js-yaml@4.0.0' import YAML from 'https://cdn.skypack.dev/yaml@1.10.2' window.jsyaml = jsyaml window.YAML = YAML </script>
Script Preparation code:
var yamlString = 'key1: val1\nkey2: 7';
Tests:
js-yaml
var dummy = jsyaml.load(yamlString);
yaml
var dummy = YAML.parse(yamlString);