Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Why does Devel::DProf report so much time in BEGIN?

by Anonymous Monk
on May 13, 2002 at 17:31 UTC ( #166233=note: print w/replies, xml ) Need Help??


in reply to Why does Devel::DProf report so much time in BEGIN?

After tirelessly searching for an answer to the same question (hence the search that turned up this page as a result), I ended up just tweaking my code until I got an answer. Several of my subroutines were missing from the DProf report until I removed all "use strict" and "use vars" lines from my code.

I really have no idea why this made a difference. Sure would be nice if it were better-documented.

Anyway, not sure if this helps you out 9 months after the fact, but thought I would share.

--Bob

  • Comment on Re: Why does Devel::DProf report so much time in BEGIN?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2022-09-24 23:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (116 votes). Check out past polls.

    Notices?