1 / 212

50 Performance Tricks to Make your HTML5 apps and sites Faster

50 Performance Tricks to Make your HTML5 apps and sites Faster. Jatinder Mann Internet Explorer Program Manager 3-132. Windows 8. Windows Store Apps. Desktop Apps. HTML JavaScript. XAML. HTML / CSS. View. JavaScript (Chakra). C C++. C# VB. Model Controller. C C++. C# VB.

cyrah
Télécharger la présentation

50 Performance Tricks to Make your HTML5 apps and sites Faster

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 50 Performance Tricks to Make your HTML5 apps and sites Faster Jatinder Mann Internet Explorer Program Manager 3-132

  2. Windows 8 Windows Store Apps Desktop Apps HTML JavaScript XAML HTML / CSS View JavaScript (Chakra) C C++ C# VB Model Controller C C++ C# VB WinRT APIs Communication & Data Graphics & Media Devices & Printing System Services .NET / SL Internet Explorer Win32 Application Model Windows Core OS Services Core

  3. Windows 8 Windows Store Apps Desktop Apps HTML JavaScript XAML HTML / CSS View JavaScript (Chakra) C C++ C# VB Model Controller C C++ C# VB WinRT APIs Communication & Data Graphics & Media Devices & Printing System Services .NET / SL Internet Explorer Win32 Application Model Windows Core OS Services Core

  4. Windows 8 Windows Store Apps Desktop Apps HTML JavaScript XAML HTML / CSS View JavaScript (Chakra) C C++ C# VB Model Controller C C++ C# VB WinRT APIs Communication & Data Graphics & Media Devices & Printing System Services .NET / SL Internet Explorer Win32 Application Model Windows Core OS Services Core

  5. Windows 8 Windows Store Apps Desktop Apps HTML JavaScript XAML HTML / CSS View JavaScript (Chakra) C C++ C# VB Model Controller C C++ C# VB WinRT APIs Communication & Data Graphics & Media Devices & Printing System Services .NET / SL Internet Explorer Win32 Application Model Windows Core OS Services Core

  6. You’ll leave with… Understanding of what makes a site/app fast. Specific things to improve your performance today.

  7. 300

  8. 200

  9. How much do you know about performance?

  10. jQuery YUI Prototype ExtJS Scriptaculous Other

  11. jQuery YUI Prototype ExtJS Scriptaculous Other

  12. jQuery YUI Prototype ExtJS Scriptaculous Other

  13. jQuery YUI Prototype ExtJS Scriptaculous Other

  14. jQuery YUI Prototype ExtJS Scriptaculous Other

  15. jQuery YUI Prototype ExtJS Scriptaculous Other

  16. jQuery YUI Prototype ExtJS Scriptaculous Other

  17. Which is the fastest website?

  18. jQuery YUI Prototype ExtJS Scriptaculous Other

  19. jQuery YUI Prototype ExtJS Scriptaculous Other

  20. Which is the slowest website?

  21. jQuery YUI Prototype ExtJS Scriptaculous Other

  22. jQuery YUI Prototype ExtJS Scriptaculous Other

  23. What is web performance?

  24. Core 1 Core 2 GPU Core 3 Core 4

  25. Windows Performance Toolkit: http://msdn.microsoft.com/en-us/performance/default.aspx Measuring Browser Performance: http://blogs.msdn.com/b/ie/archive/2010/06/21/measuring-browser-performance-with-the-windows-performance-tools.aspx?utm_medium=Twitter&utm_source=Shared

  26. CPU Activity Initial Document Requested Waiting For Initial Document Processing Initial Document

  27. CPU Activity Waiting For Sub-Downloads Processing Content

  28. CPU Activity Waiting For XHR Processing Content (again) Page Displayed To Screen Page Finished Loading Page Updates Screen Processing Content

  29. CPU Activity Time to Glass (1.14 seconds) Elapsed Page Load Time (1.81 seconds) CPU Time (1.39 seconds) Idle CPU Time (0.42 seconds)

  30. CPU Activity Time to Glass (1.14 seconds) Elapsed Page Load Time (1.81 seconds) CPU Time (1.39 seconds) Idle CPU Time (0.42 seconds)

  31. Where does the CPU time go?

  32. Layout Rendering Networking HTML CSS Collections JavaScript Marshalling DOM Formatting Block Building

  33. Layout Rendering Networking HTML CSS Collections JavaScript Marshalling DOM Formatting Block Building

  34. Layout Rendering Networking HTML CSS Collections JavaScript Marshalling DOM Formatting Block Building

  35. Layout Rendering Networking HTML CSS Collections JavaScript Marshalling DOM Formatting Block Building

  36. Layout Rendering Networking HTML CSS Collections JavaScript Marshalling DOM Formatting Block Building

  37. Layout Rendering Networking HTML CSS Collections JavaScript Marshalling DOM Formatting Block Building

  38. Layout Rendering Networking HTML CSS Collections JavaScript Marshalling DOM Formatting Block Building

  39. Layout Rendering Networking HTML CSS Collections JavaScript Marshalling DOM Formatting Block Building

  40. Layout Rendering Networking HTML CSS Collections JavaScript Marshalling DOM Formatting Block Building

  41. Layout Rendering Networking HTML CSS Collections JavaScript Marshalling DOM Formatting Block Building

More Related