This sounds like RedHat perl's nasty patch to make bless() slow in a package with overloads. https://bugzilla.redhat.com/show_bug.cgi?id=196836
Upgrading perl RPM to 5.8.23 or later should fix the problem. On Tue, Aug 12, 2008 at 3:38 PM, Erasmus Oblar <[EMAIL PROTECTED]> wrote: > I'm seeing some major performance differences between running DateTime on a > redhat 3 vs redhat 5 system. ... > Everything looks reasonable between the two machines, except for the *69 > seconds* taken by machine B in DateTime->new line 181. > > Did something change regarding how expensive bless is in perl 5.8.0 vs > .5.8.8? > > Is there a better way for this code to be written? Any help would be much > appreciated. If you'd like any other details, please let me know. > > cheers, > E > -- Tatsuhiko Miyagawa