Bug#608247: dpkg-architecture is slow

2010-12-29 Thread Raphael Hertzog
On Wed, 29 Dec 2010, Jonathan Nieder wrote: 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

Bug#608247: dpkg-architecture is slow

2010-12-29 Thread Thorsten Glaser
Raphael Hertzog dixit: with concrete optimizations, a bug report saying it's slow is useless. I never meant this as bug report, just a sort of heads-up. If it is unfixable, unless things are rewritten in non-Perl, that’s the way it is. But still, I see a lot of slowness when building packages on

Bug#608247: dpkg-architecture is slow

2010-12-29 Thread Raphael Hertzog
On Wed, 29 Dec 2010, Thorsten Glaser wrote: I never meant this as bug report, just a sort of heads-up. If it is unfixable, unless things are rewritten in non-Perl, that’s the way it is. Well, obviously Jonathan thought something else. But he provides patches from time to time so I have some

Bug#608247: dpkg-architecture is slow

2010-12-29 Thread Thorsten Glaser
Raphael Hertzog dixit: But he provides patches from time to time so I have some hopes that it means he's interested to look into the issue. :-) Indeed ☺ It seems really that perl is just slow on your setup. Yes, I thought so. Maybe the calls to the various dpkg-* and dh* tools could use cache

Bug#608247: dpkg-architecture is slow

2010-12-29 Thread Guillem Jover
Hi! On Wed, 2010-12-29 at 17:54:55 +0100, Raphael Hertzog wrote: On Wed, 29 Dec 2010, Thorsten Glaser wrote: Thorsten, can you generate the profiling data on your machine so that we have a better idea of how it runs for you? Sure. It’s a VM though, so someone with real hardware might be

Bug#608247: dpkg-architecture is slow

2010-12-29 Thread Thorsten Glaser
Guillem Jover dixit: Your initial time showed 7s, but the profile shows only 2s, maybe No, as I said, those are different machines (as I had already shut down the slower VM). bye, //mirabilos -- ch you introduced a merge commit│mika % g rebase -i HEAD^^ mika sorry, no idea and rebasing

Bug#608247: dpkg-architecture is slow

2010-12-28 Thread Jonathan Nieder
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