How can we help you today? How can we help you today?

Build 396 - Questions on Hit Count

Hi,

is it by design, or is there a better way to show me real figures with Hit Count, by real I don't mean that your numbers are wrong.

However, in the 'All Methods Grid' I can sort by Hit Count, it shows that largest hit count in my app is 136,290 (shown in red) - which is the ctor method of a key class.... I am happy with that...
It then shows 19,817 (shown in red) hits to the ctor method, this time the pricelist class, again, number wise - all ok.

The problem is that inside the pricelist class there is a predicate that has been created _bySortOrder that according to the hit count in the source window has been call 253,232 (shown in green) times.
    Private Function _bySortOrder(ByVal x As ProductBasics, ByVal y As ProductBasics) As Integer
        Return x.SortOrder.CompareTo(y.SortOrder)
    End Function

Now the actual number of calls I don't have a problem with, and it certainly highlights a performance issue that I can work on (which is way we need ANTS anyway!!!)

I also understand that the colours represented are based on time / time with children. I also understand that the predicate is very fast.

my question is ... why does this method not get shown in the summary section with it's large hit count, I don't want to go searching for these bottlenecks when you have the information already.

Hope that makes sense ;)

Paul.
Lexicon
0

Comments

1 comment

  • StephenC
    Hi Paul,

    the most likely explanation for it not appearing in the All Methods grid is that with hiding insignificant methods turned on, it's simply being hidden from view from the all methods grid.

    Could you check if this is the case and also - what percentage of time is the code view showing that is spent in the method?
    StephenC
    0

Add comment

Please sign in to leave a comment.