Bug#808911: dh-make-perl: Switch from libdpkg-parse-perl to libdpkg-perl modules

gregor herrmann gregoa at debian.org
Tue Nov 19 18:10:54 GMT 2019


On Sun, 27 Mar 2016 16:32:12 +0200, gregor herrmann wrote:

> > Seems to work (tests pass), but is noticeably slower:
> > 
> >  * without the patch
> >    dh-make-perl-dev --cpan Catalyst  29,33s user 2,30s system 94% cpu 
> >    33,473 total
> >    (second try, after one dummy to fill CPAN/dh-make-perl caches)
> > 
> > 
> >  * with the patch
> >    dh-make-perl-dev --cpan Catalyst  233,96s user 3,13s system 99% cpu 
> >    3:59,17 total
> > 
> > (both timings were on the gregoa/apt-file-3 branch)
> 
> Ouch; 4 minutes seems a bit suboptimal :/
> 
> Ok, I guess this change won't make it into 0.90 in the current form
> :)

A few years later … I tried again. After massaging the patch a bit to
apply against git master, I get, with the same methodology:

* without the patch: 169.02s user 22.11s system 112% cpu 2:49.26 total
* with the patch:    638.29s user 41.14s system 101% cpu 11:06.72 total

I guess that's still to slow :)


For posterity, I'm attaching the refreshed patch.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Rolling Stones
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Switch-from-libdpkg-parse-perl-to-libdpkg-perl-modul.patch
Type: text/x-diff
Size: 5262 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20191119/a5868913/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20191119/a5868913/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list