Performance Guidance

Most developers try to find the magic bullet for writing faster code. We must reiterate: No such thing exists. Performance is designed into an application, and micro-optimizations almost never have significant impact. Always measure before you attempt to optimize, and always measure the optimization to see if it has had an effect in your particular scenario. Performance guidance and several tips and tricks are included throughout this chapter in sections discussing other important topics, so please do read the whole chapter to find them all.

For more information about generic—not device-specific—performance advice given by the patterns and practices team, see the MSDN Web site at ...

Get Microsoft® Mobile Development Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.