diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-08 20:27:56 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-08 20:27:56 -0400 |
commit | 3bb00d142a4d31316fc6f0eb1277aa2fafe4dbe9 (patch) | |
tree | 6f17cac8538244cfd35ba403f8e5fe0e7401fc26 /debian/changelog | |
parent | 4b8ca7cfc147b2016b17cc88a21052a7ee6d46fb (diff) |
Optimize away most expensive file prune calls, when refreshing
Benchmarking refresh of a a wiki with 25 thousand pages showed
file_pruned() using most of the time. But, when refreshing, ikiwiki already
knows about nearly all the files. So we can skip calling file_pruned() for
those it knows about. While tricky to do, this sped up a refresh (that
otherwise does no work) by 10-50%.
Diffstat (limited to 'debian/changelog')
-rw-r--r-- | debian/changelog | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index ca5409af7..6c4353065 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ ikiwiki (3.14159266) UNRELEASED; urgency=low * mirrorlist: Display nothing if list is empty. * Fix a bug that could lead to duplicate links being recorded for tags. + * Optimize away most expensive file prune calls, when refreshing, + by only checking new files. -- Joey Hess <joeyh@debian.org> Sun, 27 Sep 2009 17:40:03 -0400 |