Filtering code profiling by function or module

Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
Post Reply
Posts: 1
Joined: Fri Jul 03, 2009 8:45 am

Filtering code profiling by function or module

Post by mscarlos » Fri Jul 03, 2009 8:49 am

Is there a way that one can exclude certain functions during code profiling? A sample scenario is profiling integration tests where most of the time is spent prepping up data (e.g., database inserts). I would like these calls excluded from the report since I'm not really interested on these methods. On another level is exclusion of certain modules (e.g., System.Windows.Forms.dll); again the reports show a lot of method calls from these modules which I don't want to see at the moment.

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

Post by Andreas Suurkuusk » Mon Jul 06, 2009 8:46 pm

In .NET Memory Profiler 3.5 it will be possible to group allocations by assembly, namespace, and type (see screenshot below). The bottom part shows the details (e.g. allocations and live instances created by the selected assembly/namespace/type/method). From there you can view the details of the specific instances. Is this the type of presentation you need?

Best regards,

Andreas Suurkuusk
SciTech Software AB

Post Reply

Who is online

Users browsing this forum: sunnyboy and 11 guests