Question about MessageTally>>spyOn:

Dan Ingalls DanI at wdi.disney.com
Wed Sep 2 18:44:55 UTC 1998


Maurice -

>The **Tree** part of the result is the percentage of time spent in any
>section of the running code.
>
>The **Leaves** part is the percentage of time spent in each leaf.
>
>What does it consider a leaf?

It's a misnomer.  It is really the percentage of "hits" in any node of the tree, regardless of whether it is a leaf or not.  The important thing is that the percentage in the Leaves report does not include the tallies in methods called from that node, whereas the percentage in the Tree report does.

>Also what does the "- <some-number> tallies." at the top mean?

This is the total number of timer hits that are tallied in the report, to give you some sense of overall execution time and statistical significance.  If it says "6 tallies" the distribution may not be representative of actual time distribution.

	- Dan

P.S.  MessageTally users should be aware that a weakness in the processing of Delays can affect certain MessageTally reports.  In particular, if a long duration primitive fails, its tick time may be attributed to an apparently unrelated node in the tree (typically the next message send, but it may be after several returns).  This is seldom a problem, it has been the case for over a year, and we have a fix for it that will be released with version 2.2 later this month.





More information about the Squeak-dev mailing list