Bug#575308: Moving /usr/lib/perl/5.10/Config_heavy.pl into perl-base

Niko Tyni ntyni at debian.org
Sat Mar 27 13:21:36 UTC 2010


Hi debian-boot,

I intend to move /usr/lib/perl/5.10/Config_heavy.pl into perl-base
to fix #575308 (cc'd) without diverging from upstream anymore. The
divergence added earlier for #549170 had an unexpected side effect,
and I'm not willing to risk more breakage due to this.

Please let me know if you find the impact on disk or memory usage
unacceptable.

-rw-r--r-- 1 root root 37798 Mar 25 13:52 /usr/lib/perl/5.10/Config_heavy.pl

# only needs Config.pm
% /usr/bin/time -f %M perl -MConfig -E 'say $Config{archname}'
x86_64-linux-gnu-thread-multi
8496

# loads Config_heavy.pl
% /usr/bin/time -f %M perl -MConfig -E 'say $Config{startperl}'
#!/usr/bin/perl
9808

or, for a perhaps more realistic comparison, in a minimal chroot:

# cat /tmp/t.pl
#!/usr/bin/perl -w
use Debconf::Client::ConfModule;
1

# without Config_heavy.pl
# /usr/bin/time -f %M /tmp/t.pl
31552

# with Config_heavy.pl
# /usr/bin/time -f %M /tmp/t.pl
32416

-- 
Niko Tyni   ntyni at debian.org






More information about the Perl-maintainers mailing list