chiark / gitweb /
Merge branch 'checkupdates-speedup' into 'master'
authorDaniel Martí <mvdan@mvdan.cc>
Fri, 11 Mar 2016 20:50:59 +0000 (20:50 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Fri, 11 Mar 2016 20:50:59 +0000 (20:50 +0000)
commiteb22714818b5ca07f748e076a9936a2904c5f2b2
tree2a0188b457ad78e854532d2a664579bd06da2c69
parentb0ffc5ce4c7239086df94cba26270149d71824ad
parent2a73b746034ad237adbfcdedd7ce4285a1382cde
Merge branch 'checkupdates-speedup' into 'master'

checkupdates: sort tags by date in one go

This greatly speeds up checkupdates when UCM:Tags is used on git
repositories, especially on ones with lots of tags. The old method ran a
command per tag. The new method runs a single command and doesn't
require any sorting.

Test runs show that `fdroid checkupdates org.adaway` is down from ~13s
to ~10s on my laptop.

See merge request !109