Chapter 4. Instrumentation

A common definition of a performance problem is when some action takes longer than expected*. Performance, then, includes two important components: the expectation of how long the action should take and the actual length of the action. As discussed in Chapter 1, “Setting the stage,” you should capture the expectation of how long each of your important actions or key scenarios should take as performance requirements. In other words, how long each action should take is something you define.

* This definition works well as long as the performance problem concerns the fast or fluid aspect of performance. As discussed in Chapter 1, a third component of performance is the efficiency of an app. An app that uses too much storage ...

Get High-Performance Windows Store Apps 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.