On Wed, Apr 20, 2011 at 09:11:59PM +0200, Raphael Hertzog wrote: > On Wed, 20 Apr 2011, Bill Allombert wrote: > > On my system with 1200 packages (far below the average popcon submitter), > > traditional popcon take 2s. Once patched with the attached patch to use > > dpkg -L, > > it take 30s. Slowing down 15 times popcon is not acceptable. > > You can invoke "dpkg -L" less often by giving multiple packages as > parameters. Each set of files will be separated by an empty line.
Good, is that behaviour documented somewhere ? > This will greatly improve the performance. Great, send me a patch and I will benchmark it. > (BTW, popcon is mainly run from cron so interactive performance is not so > critical.) The issue is not interactive performances but waste of system resource. Users will complain. Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to debian-dpkg-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110420192928.GC13243@yellowpig