Break down arrays by number of non-null elements
Break down arrays by number of non-null elements
When analyzing complex data structures, it is important to see how arrays are utilized. Having lots of arrays of same type with only single item can suggest a better data structure. I'd like to have a break down tab in type details for arrays, which can show how these arrays are used. That would be useful for analyzing lists, hash sets, dictionaries and other structures based on arrays.
-
- Posts: 1029
- Joined: Wed Mar 02, 2005 7:53 pm
Re: Break down arrays by number of non-null elements
You are right, some information about the actual usage of arrays would be very useful. We will add some additional information for each array instance in the Type details view, as well as summary information for all instances of a specific array type. Hopefully we will be able to do this before we release version 4.0.
Best regards,
Andreas Suurkuusk
SciTech Software AB
Andreas Suurkuusk
SciTech Software AB
-
- Posts: 1029
- Joined: Wed Mar 02, 2005 7:53 pm
Re: Break down arrays by number of non-null elements
We released .NET Memory Profiler 4.0 Beta yesterday. This version presents array usage information for specific instances, types, and filters. By default, array usage (i.e. non-zero elements) will be presented as a percentage of the total number of array "slots". You can customize columns in the instance lists, to include fields such as "Total array slots", "Used array slots", and "Unused array slots".
Best regards,
Andreas Suurkuusk
SciTech Software AB
Andreas Suurkuusk
SciTech Software AB
Who is online
Users browsing this forum: No registered users and 2 guests