Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Re: Re: Dreaming of a Better Profiler

by Anonymous Monk
on May 26, 2004 at 03:06 UTC ( #356444=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Dreaming of a Better Profiler
in thread Dreaming of a Better Profiler

I don't think so. I've used both. I've never had much luck with Devel::DProf. I've never had a problem with Devel::Profile.

My understanding of the problem with Devel::DProf, is that is can't handle subs that don't return (exceptions, gotos, etc). Devel::Profile handles such situations.

  • Comment on Re: Re: Re: Dreaming of a Better Profiler

Replies are listed 'Best First'.
Re: Re: Re: Re: Dreaming of a Better Profiler
by samtregar (Abbot) on May 26, 2004 at 04:06 UTC
    That's very interesting. A quick test against Krang shows that you are correct - it can profile krang_publish but Devel::DProf reliably seg-faults. I'm definitely going to study the code to see if I can figure out why it doesn't have the same problems as Devel::DProf, even though it uses the debugger.



      I just contributed some improvements to Devel::Profile that should make it more stable. Now the only bug I know for sure remains is actually in the core, namely, that you can't call an XS function from &DB::sub before you call &$DB::sub, or the target one gets the wrong default package. Yuck.

          -- Chip Salzenberg, Free-Floating Agent of Chaos

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://356444]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2021-10-23 11:19 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (88 votes). Check out past polls.