160 likes | 315 Views
App Performance: The Windows Performance Toolkit. Chell Sterioff Senior Program Manager 3-100. Agenda. The performance j ourney Windows Performance Toolkit (WPT) Iterative approach to perf a nalysis Demo. Objective. Familiarize you with the tools for a pp a nalysis.
E N D
App Performance: The Windows Performance Toolkit Chell Sterioff Senior Program Manager 3-100
Agenda • The performance journey • Windows Performance Toolkit (WPT) • Iterative approach to perfanalysis • Demo
Objective • Familiarize you with the tools for app analysis
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 • Follow the Performance Journey • Where are we in the performance journey?
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 • Identify a problem • Measure the scenario • Capture a trace of the problem • Analyze • Determine if you are CPU, disk, or network bound • Identify UI thread • Look at where time is being spent • Modify app and iterate
An iterative approach • Identify a problem • Measure the scenario using WPR • Capture a trace of the problem • Analyze • Determine if you are CPU, disk, or network bound • Identify UI thread • Look at where time is being spent • Modify app and iterate
An iterative approach • Identify a problem • Measure the scenario using WPR • Capture a trace of the problem • Analyze in WPA • Determine if you are CPU, disk, or network bound • Identify UI thread • Look at where time is being spent • Modify app and iterate
Demo • Capturing a Trace • WPA Basics: Identifying Blocking Resource • The UI Thread • Graphics Analysis • Diffing
Resources • Prior Talks: • 2-098 App performance: planning is cheaper than re-architecting • 3-099 App performance: scenario based UX design • 3-097 App performance: the mental model for interacting with the platform • Related Talks: • 3-316 Developing high performance websites and apps with JavaScript performance tools • 3-332 Visual Studio 2013 diagnostics tools for XAML-based Windows Store apps
Resources • Download the SDK: http://aka.ms/downloadSDK • Technical Documents: http://aka.ms/perftools • Important MSDN Articles: • Loading Symbols • Event Tracing • Creating WPR Recording Profiles • Generic Events
Required Slide *delete this box when your slide is finalized Your MS Tag will be inserted here during the final scrub. Evaluate this session • Scan this QR codeto evaluate this session and be automatically entered in a drawing to win a prize!