Bug#554689: /usr/bin/dpkg-source: is slow

2009-11-08 Thread Raphael Hertzog
On Sat, 07 Nov 2009, Mike Hommey wrote: > We can go even further, with another optimization. > > As appeared in the profiles, abs2rel and canonpath take a lot of time. > It look like abs2rel is bloated for what it is used for. I applied the patch as well. Thanks! Cheers, -- Raphaƫl Hertzog

Bug#554689: /usr/bin/dpkg-source: is slow

2009-11-06 Thread Mike Hommey
On Fri, Nov 06, 2009 at 08:45:57PM +0100, Raphael Hertzog wrote: > Building iceape, before: > real 1m11.078s > user 0m22.501s > sys 0m36.946s > > After: > real 0m14.949s > user 0m9.377s > sys 0m2.948s We can go even further, with another optimization. As appeared in the profiles, abs2rel

Bug#554689: /usr/bin/dpkg-source: is slow

2009-11-05 Thread Mike Hommey
Package: dpkg-dev Version: 1.15.4.1 Severity: normal File: /usr/bin/dpkg-source Tags: patch As seen in (but unrelated to) bug #554612, running dpkg-source -b is slow on big trees, where the main contender is Dpkg::Source::Patch::add_diff_file. %TimeSec. #calls sec/call F name 32.52