.NET Compact Framework Performance Statistics

After you have identified a performance issue with some aspect of your application, the next step is to diagnose which bit of code is responsible. In a managed environment, this isn't always straightforward because an engine is doing some work for you (as described in the preceding section) and there is a lot of code in the framework libraries not under your control; for example, you may create a single framework object, but that object may create another 10 objects on your behalf. It is for this reason that the .NET Compact Framework can generate performance statistics (or counters) that you can then examine for clues.

Performance statistics are available in .NET Compact Framework 1.0, but they are ...

Get Microsoft® Mobile Development Handbook 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.