lunamark - markdown in lua using a PEG grammar

Yuri Takhteyev qaramazov at
Sat Sep 12 03:20:48 EDT 2009

> As for performance, lunamark is about the same speed as PHP Markdown in

> my tests.

Is this with or without counting the time necessary to read the input?
On my test, reading a wiki page of 500 words _once_ and then
converting it 1000 times, lunamark is actually about 2.5 times faster
than PHP Markdown.

But perhaps a comparison with the other two Lua options is more
relevant. On the same benchmark, lunamark is 5-6 times faster than
markdown.lua and 12-13 times slower than lua-discount. (Of course,
lua-discount is basically a binding to a C implementation.)

- yuri

More information about the Markdown-Discuss mailing list