High-Performance Windows Store Apps

Book description

Understand what every developer should know about performance when building Windows Store apps. Not designed as a comprehensive reference, this book instead zeroes in on the essentials of planning for great performance and provides a solid starting point for building fast apps.

This concise, performance-focused guide:

  • Provides an introduction to the Windows platform from a performance point of view

  • Describes how to set performance goals, establish tests to track performance, and covers tools to instrument code and analyze performance

  • Explains why common techniques such as micro benchmarks and ad hoc testing often fall short in verifying performance

  • Focuses on managed C#/XAML apps

  • Although tools and techniques also apply to Visual Basic/XAML apps, all code examples use C#

  • HTML5/JavaScript and C++/XAML are not covered

  • Table of contents

    1. Title Page
    2. Copyright Page
    3. Dedication Page
    4. Contents at a Glance
    5. Table of Contents
    6. Foreword
    7. Introduction
      1. Who should read this book
      2. This book might not be for you if...
      3. Organization of this book
      4. System requirements
      5. Windows Performance Toolkit versions
      6. Code samples
      7. Acknowledgments
      8. Errata, updates, & book support
      9. We want to hear from you
      10. Stay in touch
    8. Chapter 1. Setting the stage
      1. Why is app performance so hard to optimize?
      2. A typical project
      3. Fast, fluid, and efficient
      4. Working with performance in mind
      5. Performance tools
      6. Getting started with Windows Performance Toolkit
      7. Summary
    9. Chapter 2. Platform overview
      1. Anatomy of an app
      2. Windows platform and tools
      3. The Windows Runtime
      4. XAML
      5. DirectX
      6. The Common Language Runtime
      7. Your app
      8. Summary
    10. Chapter 3. Designing for performance
      1. Less is more
      2. Proof of concept
      3. Design challenges
      4. Login
      5. Live content
      6. Handling a lot of content
      7. Handling media
      8. Summary
    11. Chapter 4. Instrumentation
      1. Event Tracing for Windows
      2. WinRT instrumentation
      3. EventSource-based instrumentation
      4. Troubleshooting
      5. Summary
    12. Chapter 5. Performance testing
      1. Why are performance tests special?
      2. Windows App Certification Kit performance tests
      3. Building a performance test environment
      4. Collecting additional performance data
      5. Summary
    13. Chapter 6. Investigating performance issues
      1. Windows Performance Analyzer revisited
      2. Methodology
      3. Sample investigations
      4. Summary
    14. Chapter 7. Wrap-up
      1. Applying the advice of the book
      2. Additional resources
      3. In closing
    15. Index
    16. About the author
    17. Inside Back Cover

    Product information

    • Title: High-Performance Windows Store Apps
    • Author(s): Brian Rasmussen
    • Release date: May 2014
    • Publisher(s): Microsoft Press
    • ISBN: 9780133967166