]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
performance problem
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>
Sun, 23 Feb 2014 17:58:54 +0000 (13:58 -0400)
committeradmin <admin@branchable.com>
Sun, 23 Feb 2014 17:58:54 +0000 (13:58 -0400)
doc/bugs/editing_gitbranch_template_is_really_slow.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/editing_gitbranch_template_is_really_slow.mdwn b/doc/bugs/editing_gitbranch_template_is_really_slow.mdwn
new file mode 100644 (file)
index 0000000..028a5b2
--- /dev/null
@@ -0,0 +1,17 @@
+On this wiki, editing `templates/gitbranch.mdwn` causes a really slow
+refresh, orders of magnitude slower than a full rebuild: a large number of
+pages depend on that template, or link to a page that embeds that template,
+and so on.
+
+I suspect that, as with my optimization pass for `album`'s benefit, the
+costly thing is evaluating lots of pagespecs. I'm profiling it to see
+whether the problem is there are any low-hanging fruit.
+
+Easy to reproduce offline:
+
+* comment out the `exclude` option in `docwiki.setup`
+* `/usr/bin/perl -Iblib/lib ikiwiki.in -setup docwiki.setup -rebuild`
+* `touch templates/gitbranch.mdwn`
+* `/usr/bin/perl -Iblib/lib ikiwiki.in -setup docwiki.setup -refresh`
+
+--[[smcv]]