]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/optimize_simple_dependencies.mdwn
reviewing next patch
[ikiwiki.git] / doc / todo / optimize_simple_dependencies.mdwn
index 10c6c72728892d982104e1e9eacce1653fae7bd2..6f6284303a1f51fb0534ccfe3b444400ffb0bb57 100644 (file)
@@ -1,5 +1,3 @@
-[[!template id=gitbranch branch=smcv/ready/depends-exact author="[[smcv]]"]]
-
 I'm still trying to optimize ikiwiki for a site using
 [[plugins/contrib/album]], and checking which pages depend on which pages
 is still taking too long. Here's another go at fixing that, using [[Will]]'s
@@ -47,6 +45,10 @@ equally valid.)
 
 --[[smcv]]
 
+> Now [[merged|done]] --[[smcv]]
+
+----
+
 > We discussed this on irc; I had some worries that things may have been
 > switched to `add_depends_exact` that were not pure page names. My current
 > feeling is it's all safe, but who knows. It's easy to miss something.
@@ -62,7 +64,12 @@ equally valid.)
 >>
 >> Performance impact: Test 2 above takes 0.2s longer to rebuild (probably
 >> from all the calls to lc, which are, however, necessary for correctness)
->> and has indistinguishable performance for a refresh. --[[smcv]]
+>> and has indistinguishable performance for a refresh.
+>>
+>> Test 1 took about 6 minutes to rebuild and 1:25 to refresh; those are
+>> pessimistic figures, since I've added 90 more photos and 90 more pages
+>> (both to the wiki as a whole, and the number touched before refreshing)
+>> since testing the previous version of this branch. --[[smcv]]
 
 > Also I think there may be little optimisation value left in
 > 7227c2debfeef94b35f7d81f42900aa01820caa3, since the "regular" dependency