In this section, we will learn what factors we should consider while measuring performance for .NET applications. We will learn what the performance metrics are and how we can utilize different tools in Visual Studio to measure them. We will discuss UI responsiveness, CPU and memory performance metrics, and how to analyze memory leaks.
When any application faces performance bottlenecks, the first thing to identify is the root cause of the area which is causing that bottleneck. Usually, when anything happens on the performance side, developers or architects immediately jump into rectifying that issue by optimizing different ends. However, in doing that, the bottleneck remains still exist. Measuring performance is essential before undertaking any steps for optimization. We should spend time on identifying the root cause before optimizing the application code or other areas...