in reply to Devel::DProf and persistant crashing

This sounds eerily like a problem I encountered with dprof at DProf problem. At that time, there was no known cure (other than if you could track down where to add a commented out print statement with the right parameters:).

The best alternative was to use either Devel::SmallProf or Devel::Profiler.

I have had good results using the former and usually use it as a second pass after I have used DProf as it gives a line-by-line profile of the code rather than sub-by-sub which can be immensely useful.

I haven't managed to get Devel::Profiler to work for me, but it apparently has the advantage of not using the debugger interface (which the other 2 do) and so is less prone to 'upsetting' perl.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
If I understand your problem, I can solve it! Of course, the same can be said for you.

  • Comment on Re: Devel::DProf and persistant crashing

Replies are listed 'Best First'.
Re: Re: Devel::DProf and persistant crashing
by BlueWlvrn (Novice) on Sep 25, 2003 at 22:24 UTC
    Well both of those packages worked for me.

    Thanks for the help.

    -Bruce