Presentation is loading. Please wait.

Presentation is loading. Please wait.

Button b1 = new Button(); b1.Content = "OK"; b1.Background = new SolidColorBrush(Colors.LightBlue); b1.Width = 100; OK LightBlue Dim b1 As New Button.

Similar presentations


Presentation on theme: "Button b1 = new Button(); b1.Content = "OK"; b1.Background = new SolidColorBrush(Colors.LightBlue); b1.Width = 100; OK LightBlue Dim b1 As New Button."— Presentation transcript:

1

2

3 Button b1 = new Button(); b1.Content = "OK"; b1.Background = new SolidColorBrush(Colors.LightBlue); b1.Width = 100; OK LightBlue Dim b1 As New Button b1.Content = "OK" b1.Background = New SolidColorBrush(Colors.LightBlue) b1.Width = 100

4 Composition = Power

5 Measure, measure, measure Identify key scenarios and set clear goals Start measuring early on representative hardware Low hanging fruit Let measurements be your guide “Premature optimization is the root of all evil” Perceived performance Make it feel fast “An art, not a science” Trade-offs CPU versus memory, etc “To ship is to choose”

6

7 demo

8

9 Cold start Warm start Runtime Memory Image size Memory leaks Element count

10 demo

11 Cold start Warm start Runtime Memory Disk I/O Module loads NGen

12 demo

13 Cold start Warm start Runtime Memory Avoid blocking Delay work Perceived perf

14 demo

15 Cold start Warm start Runtime Memory Excessive *.* Beware of IRTs Eventing

16

17 Excessive *.* Beware of IRTs Eventing Avoid blocking Delay work Perceived perf Disk I/O Module loads NGen Image size Memory leaks Element count Composition + Measurement = Power Memory Cold start Warm start Runtime

18

19 Q & A

20

21 Built by Developers for Developers….

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

23


Download ppt "Button b1 = new Button(); b1.Content = "OK"; b1.Background = new SolidColorBrush(Colors.LightBlue); b1.Width = 100; OK LightBlue Dim b1 As New Button."

Similar presentations


Ads by Google