aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>2014-02-23 13:58:54 -0400
committeradmin <admin@branchable.com>2014-02-23 13:58:54 -0400
commit608f2f1e0b4a64553cfd334a4db35b0cd6512e05 (patch)
tree599070edc039b7aea2699946bd766edce802635f /doc
parent19b9328520487f8682567cc871289fb4ebee9f00 (diff)
downloadikiwiki-608f2f1e0b4a64553cfd334a4db35b0cd6512e05.tar
ikiwiki-608f2f1e0b4a64553cfd334a4db35b0cd6512e05.tar.gz
performance problem
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/editing_gitbranch_template_is_really_slow.mdwn17
1 files changed, 17 insertions, 0 deletions
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
index 000000000..028a5b2fa
--- /dev/null
+++ b/doc/bugs/editing_gitbranch_template_is_really_slow.mdwn
@@ -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]]