Go to file
Joey Hess f937c1fb80 crazy optimisation to work around slow markdown
Markdown is slow. Especially if it has to process an enormous page. The
most common enormous page is currently the recentchanges page, which gets
processed a lot, and contains very little actual markdown. Most of it is a
big <div>, which markdown skips ... slowly.

This is a rather sick optimisation to work around markdown's speed issues.
Now inline inserts a small, dummy div, allows markdown to quickly render
the actual page content, then replaces the dummy with the actual inlined
pages later.

Results: Rendering just a recentchanges page, with diffs included, dropped
from 4.5 seconds to 2.7 seconds on my laptop. Building the entire wiki
dropped from 46.6 seconds to 39.5 seconds.

(It would be better if inline were a *post*-processor directive.)
2008-03-21 04:48:26 -04:00
IkiWiki crazy optimisation to work around slow markdown 2008-03-21 04:48:26 -04:00
debian crazy optimisation to work around slow markdown 2008-03-21 04:48:26 -04:00
doc smiley: Detect smileys inside pre and tags, and do not expand. 2008-03-21 02:43:20 -04:00
plugins first implementation of a python demo 2008-03-17 17:17:19 -04:00
po * French translation update. Closes: #471010 2008-03-15 12:35:42 -04:00
t misc improvements 2008-02-24 15:58:11 -05:00
templates * Add recentchangesdiff plugin that adds diffs to the recentchanges feeds. 2008-03-03 15:53:34 -05:00
underlays Add robots noindex,follow to redirection pages 2008-03-11 15:44:37 -04:00
.gitignore .gitignore: Ignore build-stamp 2008-01-26 22:25:43 -08:00
.perlcriticrc * Various minor fixes and stylistic improvements suggested by Perl::Critic. 2007-08-15 08:08:32 +00:00
CHANGELOG * Work on firming up the plugin interface: 2006-09-09 22:50:27 +00:00
IkiWiki.pm * Detect invalid pagespecs and do not merge them in add_depends, 2008-03-17 14:04:59 -04:00
Makefile.PL Time::Duration is no longer used, remove from docs and recommends. 2008-03-19 21:59:40 -04:00
NEWS * Work on firming up the plugin interface: 2006-09-09 22:50:27 +00:00
README * Disable taint checking for all builds as people keep complaining about it, 2008-02-24 15:42:43 -05:00
docwiki.setup add a setup file for building the doc wiki 2007-12-19 17:31:28 -05:00
ikiwiki-makerepo Make makerepo set the Git merge remote 2008-03-11 15:40:07 -04:00
ikiwiki-mass-rebuild display if group setting fails 2007-12-07 01:09:48 -05:00
ikiwiki-transition rename ikiwiki-prefix-directives into ikiwiki-transition 2008-01-30 17:22:59 -05:00
ikiwiki-update-wikilist commit. 2007-09-06 00:32:11 +00:00
ikiwiki-w3m.cgi * Support a w3mmode, which lets w3m run ikiwiki using its local CGI 2006-07-07 21:00:48 +00:00
ikiwiki.in Add --prefix-directives and --no-prefix-directives options to ikiwiki 2008-02-08 18:35:12 -08:00
mdwn2man fix 2007-03-31 06:56:52 +00:00
pm_filter if NOTAINT is not set, disable tainting 2008-02-24 16:01:10 -05:00
wikilist Fix typo. 2007-04-09 23:54:32 +00:00

README

Use ./Makefile.PL to generate a Makefile, "make" will build the
documentation wiki and a man page, and "make install" will install ikiwiki.

A few special variables you can set while using the Makefile:

PROFILE=1 turns on profiling for the build of the doc wiki. Uses Devel::Profile

NOTAINT=0 turns on the taint flag in the ikiwiki program. (Not recommended
unless your perl is less buggy than mine -- see
http://bugs.debian.org/411786)

All other documentation is in the ikiwiki documentation wiki, which is also
available online at <http://ikiwiki.info/>