develooper Front page | perl.perl5.porters | Postings from February 2004

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

Thread Previous | Thread Next
From:
Andreas J Koenig
Date:
February 14, 2004 20:01
Subject:
Re: [perl #24936] severe regexp performance problem with perl 5.8.*
Message ID:
877jyphtzz.fsf@franz.ak.mind.de
>>>>> 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.




-- 
andreas

Thread Previous | Thread Next


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