Bug#839600: perl: concatenating string instead of sprintf takes all computation power of server
Niko Tyni
ntyni at debian.org
Sun Oct 2 20:59:12 UTC 2016
On Sun, Oct 02, 2016 at 10:38:28PM +0200, gregor herrmann wrote:
> On Sun, 02 Oct 2016 22:44:35 +0300, Niko Tyni wrote:
>
> > > So the problem exists on current debian stable version (jessie), and
> > > doesn't exist on newer versions.
> > I see this on current sid/amd64 (Perl 5.24) too fwiw, and also in an
> > amd64 chroot with Perl 5.22. I've no idea why it goes away for you on
> > stretch. Can you confirm that? Are you only testing on i386 or on amd64
> > as well?
>
> I don't see this on sid (amd64):
>
> % for i in $(seq 1 100); time perl run_tests.pl
> [..]
> perl run_tests.pl 0.08s user 0.01s system 98% cpu 0.093 total
> perl run_tests.pl 0.15s user 0.00s system 98% cpu 0.158 total
>
> (These are the fastest and the slowest of the 100 runs.)
Sorry, should have said I see it with the 'sed -n '1,9000p'
line uncommented.
It seems to have to do with the size of the input file rather
than its contents, but I'm not quite sure yet.
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list