On Thu, 30 Jun 2011, Anders Kaseorg wrote:
> $ time for p in $(dpkg-query -W -f='${PackageSpec} '); do \
>   dpkg-query --control-path "$p" md5sums; done >/dev/null
> 
> real  2m34.050s
> user  2m8.480s
> sys   0m19.140s

Hum, ok.

> That accounts for basically all of the time the debsums hook is now using.  
> Besides, it’s the only thing that Stéphane’s patch changed.

Then I can only suggest to keep a cache to avoid doing it for all
installed package every time.

Or to work with us to integrate it in dpkg proper. :)

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to