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 /doc/plugins/tag | |
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 'doc/plugins/tag')
0 files changed, 0 insertions, 0 deletions