summaryrefslogtreecommitdiffstats
path: root/mirrors/management
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-11-27 17:49:58 -0500
committerDan McGee <dan@archlinux.org>2013-11-27 17:53:37 -0500
commit9adc2e53124daa6d13090166830396ffff9013d3 (patch)
tree37a7eea45098117216e4e708fa05f011e83b3821 /mirrors/management
parent954b61ee3a0760990f8e17d7d692f3cabd949f9f (diff)
downloadarchweb-9adc2e53124daa6d13090166830396ffff9013d3.tar.gz
archweb-9adc2e53124daa6d13090166830396ffff9013d3.zip
Stop using Django-provided floatformat template tagrelease_2013-11-30
It turns out this is a HUGE part of our slow mirror status template rendering, due to the internal workings. Everything is converted to a Python decimal object which is way slower than just staying in native floating point. Given we are always dealing with floats when we need to do our formatting, a home-rolled template tag can accomplish this much faster. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/management')
0 files changed, 0 insertions, 0 deletions