O'Reilly logo

Microsoft® Mobile Development Handbook by Peter Foot, Daniel Moth, Andy Wigley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Measuring Performance Programmatically

This chapter starts by discussing the characteristics of the .NET Compact Framework runtime engine and notes how that may affect your application performance. In particular, you know that high memory usage negatively affects your application and that more code usually means slower code. Sometimes you may simply need to measure how long a particular method takes and, for example, optimize performance at the micro level of a particular algorithm.

Unfortunately, unlike the full .NET Framework, the .NET Compact Framework includes no profiling tools. This means that you cannot get a tool to report how long each method took to execute, how many times it was called, how long each code statement took, and so forth—all ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required