Bug#543477: The whole system is slow

Timo Juhani Lindfors timo.lindfors at iki.fi
Mon Nov 8 08:21:57 UTC 2010


Hi,

thanks for your reply to my wish. I noticed it only now when I was
going through old bug reports. Please keep
543477-submitter at bugs.debian.org in Cc so that the emails reach me.

I think it is still a valid wish to hope that Getopt::Long would be
faster. For example on a 500 MHz x86 system the same slowdown is
visible compared to shell scripts that can use /usr/bin/getopt:

lindi at pulsar:~$ time getopt -o v --long verbose -- "--verbose"
 --verbose --

real    0m0.005s
user    0m0.004s
sys     0m0.000s
lindi at pulsar:~$ time perl -e 'use Getopt::Std;'

real    0m0.028s
user    0m0.028s
sys     0m0.000s
lindi at pulsar:~$ time perl -e 'use Getopt::Long;'

real    0m0.154s
user    0m0.152s
sys     0m0.000s








More information about the Perl-maintainers mailing list