Re: Bug#608247: dpkg-architecture is slow
On Wed, 2010-12-29 at 17:08:14 +0000, Thorsten Glaser wrote:
> Raphael Hertzog dixit:
> > It seems really that perl is just slow on your setup.
> Yes, I thought so.
Well, w/o specific profiling data I don't think we can do much, as
Raphaël already said. And the architecture being generally slow does
not make the situation any better.
> Maybe the calls to the various dpkg-* and dh* tools could use
> cache files to save having to evaluate the same thing over and
> over again, generally? (Yes, lots of work – just a random idea.)
debhelper already caches calls to dpkg-architecture, but only for each
dh* command invokation. But for dpkg-* commands in general that'd the
realm of the caller.
Anyway, given the above, I'm closing this bug report. But we'd be glad
to accept reasonable patches improving the speed in general or more
specific bug reports though.