Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^3: Profiling forking code?

by tall_man (Parson)
on Jan 13, 2003 at 22:44 UTC ( #226633=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Profiling forking code?
in thread Profiling forking code?

According to perldebguts:
A hash %DB::sub is maintained, whose keys are subrou­tine names and whose values have the form "file­name:startline-endline". "filename" has the form "(eval 34)" for subroutines defined inside "eval"s, or "(re_eval 19)" for those within regex code assertions.

It seems to me your profiler would be happier (and you would find the output more usable) if you pre-created the object packages and used them from files instead of creating them inside eval.

Replies are listed 'Best First'.
Re: Re^3: Profiling forking code?
by Jeppe (Monk) on Jan 19, 2003 at 15:09 UTC
    If I did that, I would remove quite a few reasons why I use perl rather than java. Hmm. I wonder if I can make a script that creates those classes for me, rather than loading those classes in the current way. Just for testing.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2022-05-20 23:58 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (76 votes). Check out past polls.