Dec 23, 2015
App Performance:
The Windows Performance Toolkit
Chell SterioffSenior Program Manager3-100
The performance journeyWindows Performance Toolkit (WPT)Iterative approach to perf analysisDemo
Agenda
Objective
Familiarize you with the tools for app analysis
Follow the Performance Journey
Where are we in the performance journey?
ThePerformanceJourney
Design &Plan
Architect &Develop Instrument Test &
Measure Analyze
Design for performance
Deliver consistent performance
Follow the Performance Journey
Where are we in the performance journey?
ThePerformanceJourney
Design &Plan
Architect &Develop Instrument Test &
Measure Analyze
Design for performance
Deliver consistent performance
Performance tools
Visual Studio
Windows Performance Toolkit (WPT)
Windows Performance Toolkit
Windows Performance Recorder (WPR)Allows you to capture a trace for the problem you want to investigate
Windows Performance Analyzer (WPA)Exposes information about the system and allows you to do in-depth performance analysis
An iterative approach
1. Identify a problem2. Measure the scenario
a) Capture a trace of the problem
3. Analyzea) Determine if you are CPU, disk, or network boundb) Identify UI threadc) Look at where time is being spent
4. Modify app and iterate
An iterative approach
1. Identify a problem2. Measure the scenario using WPR
a) Capture a trace of the problem
3. Analyzea) Determine if you are CPU, disk, or network boundb) Identify UI threadc) Look at where time is being spent
4. Modify app and iterate
An iterative approach
1. Identify a problem2. Measure the scenario using WPR
a) Capture a trace of the problem
3. Analyze in WPAa) Determine if you are CPU, disk, or network boundb) Identify UI threadc) Look at where time is being spent
4. Modify app and iterate
Capturing a TraceWPA Basics: Identifying Blocking ResourceThe UI ThreadGraphics AnalysisDiffing
Demo
Resources
Prior Talks:2-098 App performance: planning is cheaper than re-architecting3-099 App performance: scenario based UX design3-097 App performance: the mental model for interacting with the platform
Related Talks:3-316 Developing high performance websites and apps with JavaScript performance tools3-332 Visual Studio 2013 diagnostics tools for XAML-based Windows Store apps
Resources
Download the SDK: http://aka.ms/downloadSDKTechnical Documents: http://aka.ms/perftools
Important MSDN Articles:Loading SymbolsEvent TracingCreating WPR Recording ProfilesGeneric Events
Evaluate this session
Scan this QR code to evaluate this session and be automatically entered in a drawing to win a prize!
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.