G
Gizbo
Hi,
My workstation was recently upgraded to Fedora 8, and this has wreaked
havoc on the performance of my perl application. I did a profile on
the code and the problem appears to be within Scalar::Util. The thing
is, I don't know what to do next... The code below used to take about
2s to run, now it is several minutes! I use the Class::Std
infrastructure, and that is generating the 320k calls to refaddr, but
the same code producing the same number of calls runs in a couple
seconds on an older workstation.
Any suggestions?
[ollivier@samba anc]$ dprofpp
Total Elapsed Time = 328.8558 Seconds
User+System Time = 308.8358 Seconds
Exclusive Times
%Time ExclSec CumulS #Calls sec/call Csec/c Name
94.5 292.0 299.49 320314 0.0009 0.0009 Scalar::Util::refaddr
2.00 6.188 7.447 320314 0.0000 0.0000 Scalar::Util::blessed
0.72 2.210 139.71 166666 0.0000 0.0008 Class::Std::__ANON__
0.48 1.488 113.10 2138 0.0007 0.0529 Class::Std::new
0.41 1.259 1.259 320314 0.0000 0.0000
UNIVERSAL::a_sub_not_likely_to_be_
here
Thanks
My workstation was recently upgraded to Fedora 8, and this has wreaked
havoc on the performance of my perl application. I did a profile on
the code and the problem appears to be within Scalar::Util. The thing
is, I don't know what to do next... The code below used to take about
2s to run, now it is several minutes! I use the Class::Std
infrastructure, and that is generating the 320k calls to refaddr, but
the same code producing the same number of calls runs in a couple
seconds on an older workstation.
Any suggestions?
[ollivier@samba anc]$ dprofpp
Total Elapsed Time = 328.8558 Seconds
User+System Time = 308.8358 Seconds
Exclusive Times
%Time ExclSec CumulS #Calls sec/call Csec/c Name
94.5 292.0 299.49 320314 0.0009 0.0009 Scalar::Util::refaddr
2.00 6.188 7.447 320314 0.0000 0.0000 Scalar::Util::blessed
0.72 2.210 139.71 166666 0.0000 0.0008 Class::Std::__ANON__
0.48 1.488 113.10 2138 0.0007 0.0529 Class::Std::new
0.41 1.259 1.259 320314 0.0000 0.0000
UNIVERSAL::a_sub_not_likely_to_be_
here
Thanks