Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to analyze the performance of requests in ASP.NET MVC application?

I would like to capture the hit time, processing time, memory consumption and response time of requests in ASP.NET MVC application.

Is there any way or tool to perform this?

like image 835
eka Avatar asked Oct 19 '12 19:10

eka


People also ask

How would you diagnose the poor performance from a .NET application?

The best way to monitor the performance of your ASP.NET application is with an application performance management (APM) solution. Retrace tracks the performance of your application down to the code level and provides detailed reporting of ASP.NET application performance.

What tools would you use to check if an ASP NET MVC application is optimized for performance?

Visual Studio Diagnostic Tools The tooling allows analysis of CPU usage, memory usage, and performance events in ASP.NET Core apps. Being built-in makes profiling easy at development time.


1 Answers

Check the miniprofiler, developed by the stackoverflow team

http://code.google.com/p/mvc-mini-profiler/

This helps you to do some analysis. There is a nuget pacakge available which you can use to add this to your project.

Scott has written a post about how to use that.

You can also look into Glimpse.

There are commerical products to do memory and performance profiling like telerik just trace. You can download their trial version and use that

like image 87
Shyju Avatar answered Oct 01 '22 21:10

Shyju