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 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0
Browser:
Firefox 142
Operating system:
Linux
Device Platform:
Desktop
Date tested:
8 months ago
Test name
Executions per second
js-yaml
405522.7 Ops/sec
yaml
61765.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);