{"push_id":1180860226,"size":2,"distinct_size":2,"ref":"refs/heads/wip/kalev/0_2_X-rhbz1336404","head":"9451a7811b5092ef38cbed0074943f7a4f479a9f","before":"807008bb26af2663295a199f52ad28238a7a34cc","commits":[{"sha":"f92d8f37ab0cd1f3e4f06805acdf2bbf2934322c","author":{"name":"Kalev Lember","email":"3cddabde7bcdcb58c6f5280e14a9e026d0eafc2c@redhat.com"},"message":"Add hif_package_array_get_download_size","distinct":true,"url":"https://api.github.com/repos/rpm-software-management/libhif/commits/f92d8f37ab0cd1f3e4f06805acdf2bbf2934322c"},{"sha":"9451a7811b5092ef38cbed0074943f7a4f479a9f","author":{"name":"Kalev Lember","email":"3cddabde7bcdcb58c6f5280e14a9e026d0eafc2c@redhat.com"},"message":"source: Request multiple packages at once from librepo\n\nPreviously we were always downloading packages sequentially, passing one\npackage to librepo, waiting for it to complete, and then doing the next.\nThis led to poor download performance as the HTTP connection had to be\nreinitialized for each and every download.\n\nThis commit changes it so we are now requesting all packages from each\nrepo at the same time. This allows librepo to optimize the downloads,\nusing the same HTTP connection for quickly downloading all the packages\nand avoids having to set up a new connection for each download, as well\nas making it possible to download multiple packages in parallel.\n\nA further optimization might be to do downloads from different repos in\nparallel, which this commit does not address; but this is likely to\nresult in a much minor gain than this change.\n\nMy testing reveals an order of magnitude download speed increase, where\nthe time of downloading a Fedora 23 -> 24 upgrade drops from 1+ hour to\njust 5 minutes.\n\nThis change is heavily based on previous work by Colin Walters\n<walters@verbum.org>\n\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1336404","distinct":true,"url":"https://api.github.com/repos/rpm-software-management/libhif/commits/9451a7811b5092ef38cbed0074943f7a4f479a9f"}]}
{"actor":{"display_login":"kalev"}}