Break down arrays by number of non-null elements

Use this forum to discuss and/or suggest future improvements of .NET Memory Profiler and to report bugs.
Post Reply
orangy
Posts: 19
Joined: Thu May 05, 2011 4:18 pm

Break down arrays by number of non-null elements

Post by orangy » Thu May 05, 2011 10:15 pm

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.

Andreas Suurkuusk
Posts: 1000
Joined: Wed Mar 02, 2005 7:53 pm

Re: Break down arrays by number of non-null elements

Post by Andreas Suurkuusk » Fri May 06, 2011 2:48 pm

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
Posts: 1000
Joined: Wed Mar 02, 2005 7:53 pm

Re: Break down arrays by number of non-null elements

Post by Andreas Suurkuusk » Fri Jun 10, 2011 9:24 am

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

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests