Some of the regular expressions in MarkdownSharp look very complex and I wouldn't be surprised if the Mono engine has trouble with them.
If MarkdownSharp is where most of your performance loss is coming from, have you considered caching the HTML output so the parsing doesn't have to happen on every page load? On an ASP.NET website you should be able to use the output cache to handle caching. Alternatively, if your site's content is in a database, you could have a column for the Markdown source and a column for the HTML output, and just regenerate the HTML whenever a post is edited. Just throwing some ideas around :) On Tue, Dec 4, 2012 at 2:25 AM, Rodrigo Kumpera <kump...@gmail.com> wrote: > Mono's regex engine cannot compile a lot of expressions and it might be > your case. > In such scenarios it silently fallback to the interpreter. > > > On Sun, Dec 2, 2012 at 9:20 PM, Jordan Earls <ea...@lastyearswishes.com>wrote: > >> >> Is there anything I can do to mitigate this problem? I'm using the >> latest stable version of Mono (Arch Linux) on a 64-bit platform. Is it >> true also that regular expression should now be on par with .Net's >> implementation? From what I understand, mono compiles them to IL > > > > _______________________________________________ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > >
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list