Markdown 1.0.2b4 Performance Drop

Allan Odgaard 29mtuz102 at sneakemail.com
Sat Jul 29 15:21:41 EDT 2006


I was recently made aware of the the Markdown 1.0.2 beta 4 and
naturally downloaded it in great anticipation, as I am a big fan of
Markdown :)

Though I did notice a significant performance drop: The TextMate
manual is 3,000 lines (173 KB) and previously took 4-5 seconds to
convert to HTML (measuring only time spent by `Markdown.pl`.) With
the new version this has increased to almost 30 seconds.

Another problem is the new handling of embedded HTML (as block level
tags.) Take this example:

<div>
<div id="foo">
</div>
</div>

The markup for that ends up as:

<div>
<div id="foo">
</div>

<p></div></p>




More information about the Markdown-Discuss mailing list