Yeap...

On Tue, Jun 03, 2003 at 01:19:51PM -0800, Alex wrote:
> If you're asking for a profiler of your perl code you can try dprof

That's for your perl, at: 
http://search.cpan.org/author/JHI/perl-5.8.0/ext/Devel/DProf/DProf.pm

> and dbiprof.

That's for your DBI, at: http://search.cpan.org/author/TIMB/DBI-1.37/lib/DBI/Profile.pm

For DBI profiling it's as simple as setting the DBI_PROFILE env var
before running the program. Try setting it to values like 1, 2, 6, and -6.
Then read the docs to see what you're actually doing :)

Tim.

> 
> On Tue, 3 Jun 2003, gmei wrote:
> 
> > Hi:
> >
> > I have a perl program which calls lots of subroutines, and plus it calls
> > sqls through DBI/DBD. I am wondering if there are some utilities or programs
> > similar to Oracle's dbms_profiler that I could use to identify parts that
> > are heavy-hitters?
> >
> > TIA.
> >
> > Guang
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.net
> > --
> > Author: gmei
> >   INET: [EMAIL PROTECTED]
> >
> > Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> > San Diego, California        -- Mailing list and web hosting services
> > ---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from).  You may
> > also send the HELP command for other information (like subscribing).
> >
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: Alex
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Tim Bunce
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to