Friday, June 14, 2013

CLR Profiler – Object Allocation Report for a Web Application

The CLR Profiler provides various types of reports which help in determining the performance of the application and tuning it. The “Object Allocation” report shows the structure of the Managed heap, when the application was executing.

To view the “Object Allocation” report, use the following steps.
     Start CLR Profiler.
Make sure that the following check boxes are selected:
Profiling active
Allocations
Calls
On the File menu, click Profile ASP.NET.

CLR Profiler shuts down Internet Information Services (IIS), adds environment variables that are needed for profiling, and restarts IIS. CLR Profiler then prompts you to load the ASP.NET application and waits for the ASP.NET worker process to start.

Use Microsoft Internet Explorer to browse to the ASP.NET application you want to profile.

You can also run your Web application by using a client tool such as Microsoft Application Center Test (ACT.)

When you have finished running the application, click Kill ASP.NET in the CLR Profiler main window.

CLR Profiler shuts down IIS, removes the environment variables, and restarts IIS.

     Once the profiler is stopped, it will automatically display the Summary Report.
     
Close the   Summary report

     Click on View -> Object Allocation option to open the Report

The following screen shows on how the Object Allocation report details will be displayed for a simple Web Application.





Search Flipkart Products:
Flipkart.com

No comments: