summaryrefslogtreecommitdiff
path: root/requirements.txt
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-27 09:24:34 -0500
committerDan McGee <dan@archlinux.org>2012-04-27 09:24:34 -0500
commit80e7d19726a95b40727b7f35b9ad80b436b14b93 (patch)
tree12ba9aa51efb35c3b2bc91cd09913eff3829e5fb /requirements.txt
parent4e1e28729f97eb694cdcae2f3fe51b5178963069 (diff)
Dev dashboard performance improvement
Rather than one query per cell in the arches and repos statistics tables, we can group these together up front using Django annotations. This means we only need one query per table. In my local instance with all of the staging repos imported, this reduces the total query count on this page from 56 to 26, a rather marked improvement. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'requirements.txt')
0 files changed, 0 insertions, 0 deletions