Package: dpkg-dev
Version: 1.15.9
Severity: wishlist

Thorsten Glaser wrote:

> dpkg-architecture appears to be called rather often.
> It’s slow though…
> 
> r...@ara0:~/T # time dpkg-architecture
> DEB_BUILD_ARCH=m68k
[...]
>     0m7.49s real     0m2.97s user     0m4.02s system
> 
> The system is otherwise idle, and it’s the second call, so hot cache.
> 
> r...@ara0:~/T # cat /proc/cpuinfo
> CPU:            68040
[...]
> Debian unstable. Other tools might be similar.

dpkg-parsechangelog is also about 3 seconds too slow in my experience.

I am guessing (but have not checked) that most of the time is spent
loading Dpkg::* modules.  Any hints for diagnosing this?




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

Reply via email to