Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
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:
2 years ago
Benchmark engine:
Benchmark.js
js-yaml
674K/s
yaml
98K/s
View exact numbers
Test name
Executions per second
✓
js-yaml
673,801 Ops/sec
yaml
98,015 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);