[Popcon-developers] Bug#622322: popularity-contest: popcon tries to access dpkg internal files and fails with multiarch: same packageso
- Subject: [Popcon-developers] Bug#622322: popularity-contest: popcon tries to access dpkg internal files and fails with multiarch: same packageso
- From: hertzog@debian.org (Raphael Hertzog)
- Date: Sat, 7 May 2011 18:45:03 +0200
- Message-id: <[🔎] 20110507164503.GE8809@rivendell.home.ouaza.com>
- In-reply-to: <[🔎] 20110507133652.GC6897@yellowpig>
- References: <20110412104659.GA14466@rivendell.home.ouaza.com> <20110412123245.GL6352@yellowpig> <20110412210626.GA18119@rivendell.home.ouaza.com> <20110420135651.GC10162@yellowpig> <20110420191159.GB18649@rivendell.home.ouaza.com> <20110420192928.GC13243@yellowpig> <20110420205157.GC18649@rivendell.home.ouaza.com> <20110420210851.GE13243@yellowpig> <20110420214508.GA3888@gaara.hadrons.org> <[🔎] 20110507133652.GC6897@yellowpig>
Hi,
On Sat, 07 May 2011, Bill Allombert wrote:
> Thanks, please find a popularity-contest script that uses dpkg -L by batch.
> The size of the batch is $dpkg_batch_size at the start of the script.
>
> Below are timings on my laptop (with a fast solid-state disk):
>
> Direct access : 2.214 s
> batch of 1 pkg : 31.446 s
> batch of 2 pkgs: 5.218 s
> batch of 3 pkgs: 2.652 s
> batch of 4 pkgs: 2.405 s
> batch of 5 pkgs: 2.395 s
> batch of 8 pkgs: 2.380 s
> batch of 10 pkgs: 2.370 s
> batch of >=10 pkgs: about 2.370 s
>
> Please test with multiarch.
Thanks, seems to work fine, I have no error/warning at least.
batch of 1 pkg: 3m10.789s
batch of 2 pkgs: 0m21.769s
batch of 3 pkgs: 0m6.362s
batch of 4 pkgs: 0m4.763s
batch of 5 pkgs: 0m4.714s
batch of 10 pkgs: 0m4.670s
Direct access: 0m4.637s
Cheers,
--
Rapha?l Hertzog ? Debian Developer
Follow my Debian News ? http://RaphaelHertzog.com (English)
? http://RaphaelHertzog.fr (Fran?ais)
Reply to: