Objective Familiarize you with the tools for app analysis.

16

Transcript of Objective Familiarize you with the tools for app analysis.

Page 1: Objective Familiarize you with the tools for app analysis.
Page 2: Objective Familiarize you with the tools for app analysis.

App Performance:

The Windows Performance Toolkit

Chell SterioffSenior Program Manager3-100

Page 3: Objective Familiarize you with the tools for app analysis.

The performance journeyWindows Performance Toolkit (WPT)Iterative approach to perf analysisDemo

Agenda

Page 4: Objective Familiarize you with the tools for app analysis.

Objective

Familiarize you with the tools for app analysis

Page 5: 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

Page 6: 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

Page 7: Objective Familiarize you with the tools for app analysis.

Performance tools

Visual Studio

Windows Performance Toolkit (WPT)

Page 8: Objective Familiarize you with the tools for app analysis.

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

Page 9: Objective Familiarize you with the tools for app 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

Page 10: Objective Familiarize you with the tools for app analysis.

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

Page 11: Objective Familiarize you with the tools for app analysis.

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

Page 12: Objective Familiarize you with the tools for app analysis.

Capturing a TraceWPA Basics: Identifying Blocking ResourceThe UI ThreadGraphics AnalysisDiffing

Demo

Page 13: Objective Familiarize you with the tools for app analysis.

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

Page 15: Objective Familiarize you with the tools for app analysis.

Evaluate this session

Scan this QR code to evaluate this session and be automatically entered in a drawing to win a prize!

Page 16: Objective Familiarize you with the tools for app analysis.

© 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.