summaryrefslogtreecommitdiff
path: root/doc/freesoftware
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-08 20:27:56 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-08 20:27:56 -0400
commit3bb00d142a4d31316fc6f0eb1277aa2fafe4dbe9 (patch)
tree6f17cac8538244cfd35ba403f8e5fe0e7401fc26 /doc/freesoftware
parent4b8ca7cfc147b2016b17cc88a21052a7ee6d46fb (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/freesoftware')
0 files changed, 0 insertions, 0 deletions