Latest version is much slower to write rdepends output than older ones
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
germinate (Ubuntu) |
Fix Released
|
High
|
Colin Watson |
Bug Description
We're using germinate to get a list of dependencies needed to install checkbox, meant to produce a tarball of .debs that can be installed on a server that's offline.
While doing this we noticed the germinate process was taking a really long time (at least an hour, sometimes up to three). What we did was go back to rev376 of germinate, and that one is able to finish the process in a few minutes.
So at least for the way we're using germinate (which could potentially be wrong, but it *is* producing good results) there's a regression with regards to execution time.
How to reproduce:
bzr branch lp:germinate germinate-head
bzr branch -r376 lp:germinate germinate-376
mkdir germ-temp-{1,2}
cd germ-temp-1
echo "Run with rev 376"
PYTHONPATH=
cd ..
cd germ-temp-2
echo "Run with HEAD"
PYTHONPATH=
cd ..
Expected results:
both runs run in a reasonable amount of time.
Actual results:
When run on a 2.4-GHz i5 system with 4GB RAM and a 10-Mbit connection, 11.10 amd64, latest is about 34 times slower than r376:
first run (r376):
i5384inputs+
real 2m16.029s
user 1m51.047s
sys 0m2.656s
Second run (latest revision):
4055.88user 6.01system 1:08:02elapsed 99%CPU (0avgtext+0avgdata 845152maxresident)k
784inputs+
real 68m2.499s
user 67m35.889s
sys 0m6.016s
Changed in germinate (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Colin Watson (cjwatson) |
I'm going to assume you meant "--seed-packages desktop/checkbox" here, since your original invocation crashes.