Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Markdown Performance Comparison 2026
(version: 1)
A performance comparison of marked 17 vs markdown-it 14
Comparing performance of:
Marked vs Markdown-it
Created:
3 months ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/marked@17.0.1/lib/marked.umd.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/markdown-it@14.1.0/dist/markdown-it.min.js"></script>
Script Preparation code:
var conv = { // Marked v17: use the documented API marked: function (src) { return marked.parse(src); }, // markdown-it v14 (UMD: window.markdownit) mdit: window.markdownit({ html: true }) }; var md = ` # Benchmark Doc Title ## Overview This benchmark includes **headings**, *emphasis*, lists, a table, and inline code like \`const x = 1\`. > Blockquote: “Parsing performance varies with input size and extensions.” --- ## Lists ### Unordered + nested - Item A - Subitem A1 - Subitem A2 with **bold** and *italic* - Item B - Subitem B1 - Sub-subitem B1a - Item C with a [link](https://example.com) and \`inline()\` ### Ordered + mixed 1. Step one 2. Step two 1. Step two-a 2. Step two-b 3. Step three ### Task list (GFM) - [x] done - [ ] todo - [ ] another todo --- ## Table (GFM) | Library | Notes | Score | |:-------------|:------------------------------|------:| | marked | fast, popular | 92 | | markdown-it | extensible, plugins | 88 | | commonmark | spec reference implementation | 80 | --- ## Code blocks \`\`\`js function fib(n) { if (n <= 1) return n; return fib(n - 1) + fib(n - 2); } \`\`\` \`\`\`html <div class="demo"> <strong>Hello</strong> <em>world</em> </div> \`\`\` --- ## More text Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. ### Subheading - Repeated content can help stabilize results. - Consider running multiple iterations. End. `.trim();
Tests:
Marked
conv.marked(md);
Markdown-it
conv.mdit.render(md);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Marked
Markdown-it
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
3 months ago
)
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
Browser/OS:
Chrome 143 on Mac OS X 10.15.7
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
Marked
15581.5 Ops/sec
Markdown-it
32523.8 Ops/sec
Related benchmarks:
My Markdown Performance Comparison
My Markdown Performance Comparison 2
Markdown Performance Comparison 20
Markdown Performance Comparison 21
Markdown Performance Comparison 03-05-2022
Markdown Performance Comparison 2023-06-23
Markdown Performance Comparison (updated 2024 May)
Markdown Performance Comparison - DU
Markdown Performance Comparison 113
Comments
Confirm delete:
Do you really want to delete benchmark?