Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What perfmon counters are useful for identifying ASP.NET bottlenecks?

Given the chart here, what should I be looking at to identify the bottleneck? As you can see, requests are averaging nearly 14 seconds under load and the bulk of that time is attributed to the CLR in New Relic's profiling data. In the performance breakdown for a particular page, it attributes the bulk of the time to the WebTransaction/.aspx page.

stats captured by new relic during load test

stats for a page

like image 614
RyanW Avatar asked Jan 29 '12 19:01

RyanW


People also ask

Which tools can be used to measure the CPU and memory use of an ASP.NET application?

Visual Studio Diagnostic Tools The tooling allows analysis of CPU usage, memory usage, and performance events in ASP.NET Core apps.

How do you measure the performance of 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.

Which of the following exception performance counters in dotnet framework?

Exception performance counters. The Performance console . NET CLR Exceptions category includes counters that provide information about the exceptions thrown by an application.

What is .NET CLR Networking?

The Common Language Runtime (CLR), the virtual machine component of Microsoft . NET Framework, manages the execution of . NET programs. Just-in-time compilation converts the managed code (compiled intermediate language code) into machine instructions which are then executed on the CPU of the computer.


2 Answers

I see that the database is readed also (the orange) and this is seams that one of all pages have delay the rest of pages because of the lock that session make on the pages.

you can read also : Replacing ASP.Net's session entirely

My suggestion is totally remove the session calls and if this is not possible, find an other way to save them somewhere in database by your self.

Actually in my pages I have made all three possible options. 1. I call the page with out session. 2 I have made totally custom session that are values connected to the user cookie, and last 3. I have made threads that are run away from the session and they make calculations on background, when they finish I show the results.

In some cases the calculations are done on iframe that call a page without session and there later I show the results.

like image 164
Aristos Avatar answered Oct 16 '22 13:10

Aristos


In the Pro version, you can use Transaction Traces, which help pinpoint exactly where the issue is happening.

like image 23
Jade Avatar answered Oct 16 '22 14:10

Jade