Set-Infinite - DProf Set::Infinite on different machines

Posted on Fri May 11 17:39:05 2007 by pyhacker
DProf Set::Infinite on different machines

I'm developing an app using set infinite on old RH7.3 machine using Perl V=5.6.1. When I run the using DProf on the dev machine I get the following:

Exclusive Times %Time ExclSec CumulS #Calls sec/call Csec/c Name 7.22 0.040 0.047 601 0.0001 0.0001 Set::Infinite::Basic::_intersectio n 5.42 0.030 0.028 1061 0.0000 0.0000 Set::Infinite::Basic::_simple_unio n 5.42 0.030 0.028 1206 0.0000 0.0000 Set::Infinite::Basic::new

However, when I run it on the production machine which is: Linux 2.6.18-1.2239.fc5smp #1 SMP Fri Nov 10 13:22:44 EST 2006 i686 i686 i386 GNU/Linux Perl V=5.8.8 I get:

Exclusive Times %Time ExclSec CumulS #Calls sec/call Csec/c Name 59.3 0.948 0.948 1206 0.0008 0.0008 Set::Infinite::Basic::new 2.38 0.038 0.487 601 0.0001 0.0008 Set::Infinite::Basic::_intersectio n

The difference in CumulS for Set::Infinite::Basic::new is .948-.028=.920 secs. The way I read this is that it takes almost 1 sec longer on the 'faster' machine.

Question: How can I make this better?

Write a response