That doesn't let you know which *part* of your program is taking the most time. For
that, try using the Devel::DProf or Devel::SmallProf debugging modules. For example,
you can do this:
perl -d:DProf myprog.pl
dprofpp
...to get a list of the 15 most intense calls.
SmallProf gives you a finer level of detail...the call count and CPU usage on a
line-by-line basis.
You already have DProf installed. SmallProf is on CPAN.
---scott
>>> <[EMAIL PROTECTED]> 05/23/01 04:51AM >>>
<on 23.05.01, baby lakshmi wrote>
> hi
> I would like to know which part of my program is taking much time. IS that
> possible?
> if possible, can u tell me how to do it??
> Thankyou
> regards
> babylakshmi
The benchmark perl module is what you'd be after
http://search.cpan.org/search?mode=module&query=Benchmark
install then
perldoc Benchmark
should tell you what you need to know.
:-)
--lucy
--
Lucy Newman [EMAIL PROTECTED]
Home: http://triffid.org Work: http://lshift.net