Open research

In the spirit of free and open source software the central topic of this site is to make my research open to the public. My methodology is freely available via the internet, along with any data or results extracted or derived from them. This permits collaboration, which anyone may participate at any level of the project. So feel free to contribute on Github.

Homepage » Markdown tools and speed comparision

Markdown tools and speed comparison

Basics

Comparison lightweight markup languages

Source: stackoverflow

Markdown

Textile

reStructuredText (A.K.A. ReST)

Speed comparison

Source: Kramdown

Running tests on 2011-05-06 under ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux]

Test using file mdsyntax.text and 20 runs
Rehearsal ----------------------------------------------------
kramdown 0.13.3    1.370000   0.020000   1.390000 (  1.404663)
Maruku 0.6.0       5.060000   0.040000   5.100000 (  5.106719)
BlueFeather 0.32   6.530000   0.030000   6.560000 (  6.567779)
BlueCloth 2.0.5    0.020000   0.000000   0.020000 (  0.026625)
RDiscount 1.3.5    0.030000   0.000000   0.030000 (  0.027864)
------------------------------------------ total: 13.100000sec

                       user     system      total        real
kramdown 0.13.3    1.330000   0.000000   1.330000 (  1.337794)
Maruku 0.6.0       4.920000   0.090000   5.010000 (  5.021203)
BlueFeather 0.32   6.500000   0.000000   6.500000 (  6.514317)
BlueCloth 2.0.5    0.030000   0.000000   0.030000 (  0.028822)
RDiscount 1.3.5    0.030000   0.000000   0.030000 (  0.032746)

Test using file mdbasics.text and 20 runs
Rehearsal ----------------------------------------------------
kramdown 0.13.3    0.230000   0.000000   0.230000 (  0.240128)
Maruku 0.6.0       1.190000   0.010000   1.200000 (  1.195718)
BlueFeather 0.32   1.640000   0.000000   1.640000 (  1.637763)
BlueCloth 2.0.5    0.010000   0.000000   0.010000 (  0.008403)
RDiscount 1.3.5    0.000000   0.000000   0.000000 (  0.008073)
------------------------------------------- total: 3.080000sec

                       user     system      total        real
kramdown 0.13.3    0.240000   0.000000   0.240000 (  0.238602)
Maruku 0.6.0       1.130000   0.040000   1.170000 (  1.169408)
BlueFeather 0.32   1.620000   0.000000   1.620000 (  1.619027)
BlueCloth 2.0.5    0.010000   0.000000   0.010000 (  0.009050)
RDiscount 1.3.5    0.010000   0.000000   0.010000 (  0.009502)

Cite from Kramdown

Maruku, BlueFeather, BlueCloth and RDiscount. The first two are written using only Ruby, the latter two use the C discount library for the actual hard work (which makes them really fast but they do not provide additional syntax elements). As one can see below, kramdown is currently (November 2010) ~3-4x faster than Maruku, ~4-5x faster than BlueFeather but ~30x slower than BlueCloth and rdiscount:

Converter

Pandoc can read markdown and (subsets of) reStructuredText, textile, HTML, and LaTeX, and it can write plain text, markdown, reStructuredText, HTML, LaTeX, ConTeXt, PDF, RTF, DocBook XML, OpenDocument XML, ODT, GNU Texinfo, MediaWiki markup, textile, groff man pages, Emacs org-mode, EPUB ebooks, and S5 and Slidy HTML slide shows. PDF output (via LaTeX) is also supported with the included markdown2pdf wrapper script.
To convert Markdown to another Syntax you first have to install Pandoc for Mac OS X.
You can easily convert Markdown for i.e. MediaWiki syntax by using the following:

pandoc -r markdown <originalFileName> -t mediawiki -o <newFileName>

Tools

Mac

Other