Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Monitoring Performance

To create software with top-notch performance, it’s important to understand how processing time is being spent when the application runs. For programmers new to the .NET Framework and COM Interoperability, understanding your application’s run-time performance profile is critical, because it’s easy to inadvertently use a poor-performing approach. To help obtain such information, NT-based versions of Windows have a System Monitor in which applications that expose performance objects can be monitored while they are running. This utility can display information using line graphs, bar charts, and other displays, so it can be a great tool for understanding performance problems such as bottlenecks in your application.

The .NET Framework exposes several performance objects that can be used with the System Monitor, including one specifically for interoperability. Every performance object has one or more performance counters, individual data values being tracked over time, such as “number of bytes in the GC heaps,” or “number of classes loaded.”


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint