Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Markdown Performance Comparison 4
A performance comparison of leading Javascript Markdown implementations.
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Browser:
Chrome 131
Operating system:
Mac OS X 10.15.7
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
Showdown.js
10788.5 Ops/sec
Marked
31208.4 Ops/sec
CommonMark
76191.2 Ops/sec
Markdown-it
57393.6 Ops/sec
Remarkable
82348.7 Ops/sec
Micromarkdown
72904.9 Ops/sec
Snarkdown
54822.5 Ops/sec
HTML Preparation code:
<script type="text/javascript" src="https://unpkg.com/showdown@1.9.1/dist/showdown.min.js"></script> <script type="text/javascript" src="https://unpkg.com/marked@1.1.0/marked.min.js"></script> <script type="text/javascript" src="https://unpkg.com/commonmark@0.29.1/dist/commonmark.min.js"></script> <script type="text/javascript" src="https://unpkg.com/markdown-it@11.0.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 type="text/javascript" src="https://unpkg.com/micromarkdown@0.3.0/dist/micromarkdown.min.js"></script> <script type="text/javascript" src="https://unpkg.com/snarkdown@1.2.2/dist/snarkdown.umd.js"></script>
Script Preparation code:
var conv = { showdown: new showdown.Converter(), marked: marked, cm: new commonmark.HtmlRenderer(), mdit: markdownit({ html: true }), remarkable: new remarkable.Remarkable(), micromarkdown: window.micromarkdown, snarkdown: window.snarkdown }; var pars = { cm: new commonmark.Parser() }; 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. With it we are *able to talk* about the things we love.\n\nOnline publishing platform have a problem though - they [require](https://1993.uk) certain software to be installed on web servers in order to work. This often means running your own server or paying someone else who will setup the [required](https://1993.uk) parts for you.\n\nAfter you setup the system, constant updates are required to make sure that any bugs in the software you are running are patched [immediately](https://1993.uk) to prevent your *site* from being hacked. This __often means__ having a recent backup of your data", ""].join("\n");
Tests:
Showdown.js
conv.showdown.makeHtml(md);
Marked
conv.marked(md);
CommonMark
conv.cm.render(pars.cm.parse(md));
Markdown-it
conv.mdit.render(md);
Remarkable
conv.remarkable.render(md);
Micromarkdown
conv.micromarkdown.parse(md);
Snarkdown
conv.snarkdown(md);