1 I'm not sure where the bottleneck is for running ikiwiki over a site like
3 [Natalian](http://source.natalian-org.branchable.com/?p=source.git;),
4 though I like to think the markdown processing could be speeded up by the
5 support of the C implementation of Markdown called
6 [Sundown](https://github.com/tanoku/sundown).
8 >> Sundown doesn't appear to have Perl bindings, so the cost of calling a
9 >> separate process could wipe out some or all of the speed gain. It might
10 >> be worth looking into Text::Upskirt instead, which uses the Upskirt
11 >> library which Sundown appears to be derived from. -- [[KathrynAndersen]]
13 >>> It would be fairly easy to write a perl binding for sundown. For that
14 >>> matter, Text::Upskirt could be adapted to it. I am waiting for any of
15 >>> upskirt, sundown and perl bindings to get into Debian, then I will
16 >>> see about making ikiwiki use them.
18 >>> For now, I have added discount support to ikiwiki. This does speed up
19 >>> markdown rendering by up to 40x, although when building a site ikiwiki
20 >>> in practice does other work, so the gains are less impressive. Building
21 >>> the ikiwiki doc wiki went from 62 to 45 seconds. The lack of a Debian
22 >>> package of Text::Markdown::Discount means this is not used by default
25 >>> (Upskirt, discount... Who comes up with these names? Discount also
26 >>> features a "NOPANTS" option.) --[[Joey]]
28 >>>> Thanks for doing this; it's given a well-needed speedup to my huge site.
30 >>>> (At least "Discount" is related to "Mark Down" but I don't fathom "Upskirt" either.)
31 >>>> --[[KathrynAndersen]]