[BUG?] Issue with time profiler?

David T. Lewis lewis at mail.msen.com
Sat Mar 20 18:51:53 UTC 2004


On Sat, Mar 20, 2004 at 01:05:26PM -0500, Alan Grimes wrote:
> I've had some good luck with the time profiler already, as noted in my 
> previous message.
> 
> However, when I went on to the second method:
> 
> "ImageProcessor >> iterationsDo: "
> 
> It utterly fails to produce a useful tree. As you see, it calls 3 
> "interesting" methods however, on the runs so far it has said, blythly, 
> that 100% of the time is in "centerSurround" or "collapseArray". (count 
> was 7) On one run, it failed to produce a tree at all!

Usually this is because your method is running too fast to gather any
useful profiling information. Try wrapping the method you want to profile
in a loop to run it 100 times or 1000 times. That should give enough run
time to give you a profile.

Dave




More information about the Squeak-dev mailing list