Do you care about the performance of your application?
Yes? So how do you measure the performance of your code?
You could instrument your code manually, but it's a laborious process annotating code, calculating times from log files, and relating it all back to your source – and then you need to remember to turn it all off later. Even worse, you often don't know what needs to be timed when you start, so most of your time is wasted finding things that aren't actually a problem…and line-level timing is hopelessly inaccurate! In a nutshell, it's clumsy, slow, and often wrong – and let's face it, you are busy enough as it is.
For a better, less time-consuming solution, try using a performance profiler. It does all the work for you and gives you accurate data. Without modifying your source, the profiler automatically collects all the CPU and wall-clock timings, and presents the results graphically, all the way down to individual lines of code. Within minutes, a profiler will show you exactly where to focus your performance-boosting work.
Try ANTS Performance Profiler and improve the performance of your .NET apps – fast
- Optimize the performance of your C# and VB.NET code
- Identify performance hotspots within minutes
- Drill down to the specific lines of code causing inefficiencies
- Profile and analyze any .NET application, including ASP.NET web applications
In the Complete Guide .NET Performance and Optimization, Paul Glavich and Chris Farrell offer a comprehensive and essential handbook to anybody looking to set up a .NET testing environment and get the best results out of it, or just learn effective techniques for testing and optimizing their .NET applications.
Sorry, this book is no longer available for free. You can purchase a copy from Amazon.
- Chapter 01: Introduction - The What and the Why
- Chapter 02: Understanding Performance Targets
- Chapter 03: Performance and Load Test Metrics
- Chapter 04: Implementing your Test Rig
- Chapter 05: Creating Performance Tests
- Chapter 06: Next Steps - Profiling
- Chapter 07: Performance Profiling
- Chapter 08: Memory Profiling
- Chapter 09: The Performance Testing Process
- Chapter 10: Common Areas for Performance Improvements
- Chapter 11: Load Balancing
- Chapter 12: Internet Information Server (IIS)
- Chapter 13: HTTP Optimization