[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Profiling on Win32



On Thu, Jan 20, 2000 at 04:43:33PM -0600, Andy Lester wrote:
> I've got some code that I'd like to profile, but Devel::DProf has a
> problem: The tmon.out out file it generates (at least under the
> Activestate module) doesn't have the "realtime of the process", as the doc
> says.  It's always 0.  Makes it hard for the log parser to determine how
> long anything took.

(I will forgo the Get-A-Real-Operating-System,-Kid speech.)

You might want to try Devel::SmallProf, its a line-by-line profile
which IMHO is less useful than DProf, but it might work on Windows.
You could always run your profiling on a Unix machine.  I/O might be
thrown off, though, since Unix tends to cache files better IIRC, but
otherwise the information should be relevent.

-- 

Michael G Schwern                                           schwern@pobox.com
                    http://www.pobox.com/~schwern
     /(?:(?:(1)[.-]?)?\(?(\d{3})\)?[.-]?)?(\d{3})[.-]?(\d{4})(x\d+)?/i

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe