Yes. It uses Perl's debugger hooks so it will almost certainly suffer from the same problems as Devel::DProf. As far as I was able to determine the bugs in Devel::DProf are actually bugs in Perl's debugger.
-sam
| [reply] |
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.
| [reply] |
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.
Thanks!
-sam
| [reply] |