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 (Macintosh; Intel Mac OS X 10.15; rv:133.0) Gecko/20100101 Firefox/133.0
Browser:
Firefox 133
Operating system:
Mac OS X 10.15
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
js-yaml
756507.9 Ops/sec
yaml
99456.7 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);