summaryrefslogtreecommitdiffstats
path: root/templates/todolists
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-01-11 20:07:40 +0100
committerDan McGee <dan@archlinux.org>2014-01-11 20:07:40 +0100
commit3827215fa3335f8da3c82d4d098eb402b6d29dbc (patch)
treea057c6f3d5ca70da72b01b6a416a7ab667bc9e56 /templates/todolists
parentf4d49590153a5c39d4b60ba0a9c2901c344ff45a (diff)
downloadarchweb-3827215fa3335f8da3c82d4d098eb402b6d29dbc.tar.gz
archweb-3827215fa3335f8da3c82d4d098eb402b6d29dbc.tar.xz
Speed up feeds generation by batching writes
The XML generation underlying our package feeds was doing 1600+ calls to the write() method on the outfile. For some reason, the Python standard library insists on calling flush() after every write, which really makes performance take a nosedive. Wrap the write calls and do them in batches to remove some of the overhead and make feed generation a bit snappier. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/todolists')
0 files changed, 0 insertions, 0 deletions