[Pdx-pm] red hat enterprise "perl" bug

J. Shirley jshirley at gmail.com
Tue Aug 26 07:47:18 PDT 2008


On Mon, Aug 25, 2008 at 8:20 PM, Andy Lester <andy at petdance.com> wrote:
>
> On Aug 25, 2008, at 10:17 PM, Eric Wilhelm wrote:
>
>>  http://blog.vipul.net/2008/08/24/redhat-perl-what-a-tragedy/
>>
>>  https://bugzilla.redhat.com/show_bug.cgi?id=379791
>
>
> http://perlbuzz.com/2008/08/red-hats-patch-slows-down-overloading-in-perl.html
>
> Run this to illustrate the slowdown, if you have it:
>
> #!/usr/bin/perl
>
> use Time::HiRes;
> use overload q(<) => sub {};
>
> my %h;
>
> $|++;
>
> print "Pass#\tPass time\tTotal time\n";
> my $bigstart = Time::HiRes::time();
> for my $i ( 1..50 ) {
>    my $start = Time::HiRes::time();
>    for my $j ( 1..1000 ) {
>        $h{$i*1000 + $j} = bless [ ] => 'main';
>    }
>    my $now = Time::HiRes::time();
>    printf( "#%2d\t%f\t%f\n", $i, $now-$start, $now-$bigstart );
> }
>
> xoxo,
> Andy
>
> --
> Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance
>
>
>
>

DBIx::Class is affected by this bug (and CDBI, I believe) and causes
quite a bit of traffic.  We just had someone in #catalyst talking
about a significant slowdown on RHEL5 but not RHEL4 when using Opview
(Catalyst + CDBI).

Friends don't let friends run RHEL vendor perl.


More information about the Pdx-pm-list mailing list