recently, I pushed a commit that speeds up the update of an osc project
working copy, if most of the packages in the working copy are already up to
date (that is no update has to be performed).
The following table shows the improvements of the new code (in terms of
wall-clock time). Both project working copies were already up to date
and the packages in the home:Marcus_H project were unexpanded.
project # number of packages # old code # new code home:Marcus_H 66 51.135s 10.653s d:l:r:e 1245 7:07.07min 17.804s
(the numbers for the devel:languages:ruby:extensions (d:l:r:e) project
were kindly provided by darix – thanks!).
Technically, we just reduced the number of http requests for packages
that are already up to date by using the backend’s getprojectsourceinfo
Note: currently, such a reduction is not possible for packages that have
a _service file, because a small change in the backend is needed (see ).
Consequently, there are no time improvements for such packages.
If you want to test the new code, use the osc package from the
devel:tools:scm repo (http://download.opensuse.org/repositories/devel:/tools:/scm/).
Feedback is always welcome! 🙂
Next, my plan is to improve the speed of an update of a single package
working copy (again by reducing the number of http requests).