develooper Front page | perl.perl5.porters | Postings from March 2017

Re: [perl #24936] severe regexp performance problem with perl 5.8.*

Thread Previous
From:
Dave Mitchell
Date:
March 27, 2017 23:48
Subject:
Re: [perl #24936] severe regexp performance problem with perl 5.8.*
Message ID:
20170327234831.GA9957@iabyn.com
On Sun, Feb 15, 2004 at 05:00:32AM +0100, Andreas J Koenig wrote:
> >>>>> On Wed, 21 Jan 2004 23:44:20 +0100, Abigail <abigail@abigail.nl> said:
> 
>   > Here's a program that shows there's a huge slowdown between 5.005_03
>   > and 5.6.0 and it even gets slower after 5.6.0.
> 
> The tiny patch with the huge impact was 4759. On my system your
> benchmark takes these times:
> 
> installed-perls/perl/pu96yqS/perl-5.005_63@4759/bin/perl
>         A takes 7.60 msecs. The match was not succesful.
>         B takes 8.10 msecs. The match was not succesful.
>         C takes 6.90 msecs. The match was not succesful.
>         D takes 0.00 msecs. The match was succesful.
>         E takes 0.10 msecs. The match was not succesful.
>         F takes 0.00 msecs. The match was not succesful.
> 
> For a reference, bleadperl takes
> 
> installed-perls/perl/p7Z5q87/perl-5.8.0@22306/bin/perl
>         A takes 12.80 msecs. The match was not succesful.
>         B takes 12.80 msecs. The match was not succesful.
>         C takes 11.60 msecs. The match was not succesful.
>         D takes 0.00 msecs. The match was succesful.
>         E takes 0.20 msecs. The match was not succesful.
>         F takes 0.00 msecs. The match was not succesful.

This performance issue appears to have been fixed in 5.22.0;
closing.

perl561o:
	A takes 1.53000 msecs. The match was not succesful.
	B takes 1.75000 msecs. The match was not succesful.
	C takes 1.64000 msecs. The match was not succesful.
	D takes 0.00000 msecs. The match was succesful.
	E takes 0.01000 msecs. The match was not succesful.
	F takes 0.01000 msecs. The match was not succesful.
perl5200o:
	A takes 1.50000 msecs. The match was not succesful.
	B takes 1.82000 msecs. The match was not succesful.
	C takes 1.66000 msecs. The match was not succesful.
	D takes 0.00000 msecs. The match was succesful.
	E takes 0.01000 msecs. The match was not succesful.
	F takes 0.00000 msecs. The match was not succesful.
perl5200o:
	A takes 1.47000 msecs. The match was not succesful.
	B takes 1.82000 msecs. The match was not succesful.
	C takes 1.67000 msecs. The match was not succesful.
	D takes 0.00000 msecs. The match was succesful.
	E takes 0.01000 msecs. The match was not succesful.
	F takes 0.00000 msecs. The match was not succesful.
perl5220o:
	A takes 0.01000 msecs. The match was not succesful.
	B takes 0.01000 msecs. The match was not succesful.
	C takes 0.01000 msecs. The match was not succesful.
	D takes 0.00000 msecs. The match was succesful.
	E takes 0.01000 msecs. The match was not succesful.
	F takes 0.00000 msecs. The match was not succesful.
perl5240o:
	A takes 0.01000 msecs. The match was not succesful.
	B takes 0.01000 msecs. The match was not succesful.
	C takes 0.01000 msecs. The match was not succesful.
	D takes 0.00000 msecs. The match was succesful.
	E takes 0.01000 msecs. The match was not succesful.
	F takes 0.00000 msecs. The match was not succesful.
perl52510o:
	A takes 0.01000 msecs. The match was not succesful.
	B takes 0.01000 msecs. The match was not succesful.
	C takes 0.01000 msecs. The match was not succesful.
	D takes 0.00000 msecs. The match was succesful.
	E takes 0.01000 msecs. The match was not succesful.
	F takes 0.00000 msecs. The match was not succesful.


-- 
This email is confidential, and now that you have read it you are legally
obliged to shoot yourself. Or shoot a lawyer, if you prefer. If you have
received this email in error, place it in its original wrapping and return
for a full refund. By opening this email, you accept that Elvis lives.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About