Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Profiling forking code?

by tall_man (Parson)
on Jan 13, 2003 at 22:44 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-20 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found