Using .NET Compact Framework Performance Counters

Performance testing and tuning are not confined only to measuring the execution time of the code. Performance also depends on the working set of the application. This includes the amount of memory allocated and de-allocated while the application executes. The presence of the .NET Compact Framework garbage collector makes it difficult to calculate how much memory is used and recycled as the application executes. The .NET Compact Framework's execution engine provides a small window into an application's working set.

The .NET Compact Framework's execution engine has the ability to keep track of several performance statistics as your application runs. These statistics include how much memory is allocated, ...

Get Microsoft® .NET Compact Framework Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.