Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Markdown Performance Comparison Dec-11-2024-19:00
A performance comparison of leading Javascript Markdown implementations.
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0
Browser:
Chrome 130
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
Marked
56719.3 Ops/sec
Markdown-it
106305.8 Ops/sec
Remarkable
182187.7 Ops/sec
CommonMark
153636.9 Ops/sec
HTML Preparation code:
<script type="text/javascript" src="https://unpkg.com/marked@15.0.3/marked.min.js"></script> <script type="text/javascript" src="https://unpkg.com/commonmark@0.31.2/dist/commonmark.min.js"></script> <script type="text/javascript" src="https://unpkg.com/markdown-it@14.1.0/dist/markdown-it.min.js"></script> <script type="text/javascript" src="https://unpkg.com/remarkable@2.0.1/dist/remarkable.min.js"></script>
Script Preparation code:
var pars = { cm: new commonmark.Parser(), // cm.parse("") marked: marked, // marked.lexer("") mdit: markdownit(), // mdit.parse("", {}) remarkable: new remarkable.Remarkable() // remarkable.parse("") }; var md = "# The Static, Static Blog Generator\n\n### May 17th, 2014\n\nWe all like publishing our thoughts online - but why is it such a bother to run a CMS?\n\nManaging databases, `updating` software, and keeping track of our *content* often cuts into the most important activity: *expressing ourselves*.\n\nThe web makes it really __easy to share__ our thoughts with millions of __individuals__ from around the world.";
Tests:
Marked
pars.marked.lexer(md);
Markdown-it
pars.mdit.parse(md, {});
Remarkable
pars.remarkable.parse(md, {});
CommonMark
pars.cm.parse(md);