[Popcon-developers] Bug#622322: popularity-contest: popcon tries to access dpkg internal files and fails with multiarch: same packageso
Raphael Hertzog
hertzog at debian.org
Wed Apr 20 19:11:59 UTC 2011
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.
This will greatly improve the performance.
(BTW, popcon is mainly run from cron so interactive performance is not so
critical.)
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)
More information about the Popcon-developers
mailing list