XAML Performance Fundamentals

Sign in to queue

Description

Creating efficient, high-performing apps is critical as apps grow in complexity while users also embrace low-power devices. The XAML framework has abstracted many of the details of app development, which makes it faster for you to develop apps but harder to control the performance. Learn how we’ve doubled down on improving overall framework performance so that apps perform well from the start. We’ll also share tips to make sure your app is getting the most out of the framework, and techniques for tweaking problematic scenarios to the needs of your app.
For more information, check out these courses on Microsoft Virtual Academy:

Tags:

Windows 8.1, XAML

Day:

2

Level:

300

Session Type:

Breakout

Code:

3-157

Room:

South Hall: Esplanade 305

Embed

Download

Download this episode

For more information, check out these courses on Microsoft Virtual Academy:

The Discussion

  • User profile image
    dotnetgator

    Hi Kiran - a quick question.  At approx. the 37 minute mark you discuss the EnableFrameRateCounter setting.  The display that corresponds to this setting in 8.1 has changed from what was displayed in 8.0, and doesn't seem to correspond to the online documentation.  The existing documentation refers to 6 elements (Cp fps, UI fps, Memory, batch, CP ms, UI ms)  https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.debugsettings.enableframeratecounter.aspx

    Can you clarify what the specific values are that are being displayed in the new 8.1 UI?

    Thank you

  • User profile image
    kiranku

    Yes, the display on 8.1 Is different from 8.0. In newer version we have 4 values. two on left side and 2 on right side of the screen. Left shows the UI thread FPS, UI thread Per frame cost. Right one shows DWM FPS and per frame cost.

     

     

  • User profile image
    Doug

    Thanks Kirin - great info. In your presentation, you mention both the recorder/analysis profiles are included in the toolkit installation. I've got the toolkit (Windows ADK) installed, but I can't find the "XAML Application Analysis" profile anywhere. Could you provide additional details on where we can find (or download) this profile?

  • User profile image
    arichika

    Great session.

    I'm also looking for a profile "XAML Application Analysis" of the WPR. My windows 8.1 preview  installed vs2013 preview, can't find it. Please tell us.

  • User profile image
    kiranku

    There are two ways to get these tools.

    1. If you have installed VS Express or ultimate

    2. from "www.microsoft.com/en-us/download/details.aspx?id=30652"

  • User profile image
    Doug

    Found it - you need the Windows 8.1 SDK Preview installed to get the XAML profiles.

  • User profile image
    arichika

    Sounds good. I found it too. Thank you Doug.

    Windows SDK for Windows 8.1 preview.

    http://msdn.microsoft.com/en-us/library/windows/desktop/bg162891.aspx

  • User profile image
    Niner912523

    Kiran, gr8 session.

    You mentioned that ScrollViewer delegates scrolling animations to the Render Thread which we do not have control over. But that means we can't enable other manipulations in the ScrollViewer right? For example, I (always)wanted to be able to slide horizontally in a (vertically scrolling) ScrollViewer and that will be challenge, because as soon as I subscribe to Manipulation events on ScrollViewer I will have to manage the vertical scrolling from code, but I'll not be able to delegate it to the RenderThread ?

    While we get gr8 performance etc. these limitations do restrict us from creating 'immersive experiences'

    Thanks

Add Your 2 Cents