Windows 8 and 8.1 Forums


High performance HTML5 content in Metro-style Apps

  1. #1

    High performance HTML5 content in Metro-style Apps


    Metro style apps in Windows 8 have all the performance benefits of IE10 when showing Web content. In Metro style apps, Web content is always JIT compiled and hardware-accelerated. Other platforms do not provide the same level of performance in apps. For example, Cocoa apps on iOS offer significantly worse JavaScript performance (via the UIWebView control) than the same content running in Safari. These Cocoa apps do not enjoy JIT compilation, and these apps cannot show and use Web content the same way the browser on the system can:

    Testing configuration: http://www.webkit.org/perf/sunspider/sunspider.html.
    iPad: 1st Gen, iOS 5.0.1.
    Windows 8: Developer Preview, Dell Optiplex 745, 64-bit OS.
    Kindle Fire v1.
    Why is this important?

    Many applications embed HTML to provide a richer and always up to date experience for consumers. For example, the developer of a restaurant guide app might want to include a live map showing the locations of the list of restaurants the user is choosing from. If you write an app on iOS, common actions like panning and zooming the map will run twice as slow in an app compared with Safari.
    Anyone writing a Metro style app for Windows 8 can easily include Web content in their app. In an HTML or XAML app, just include an element or a WebView control to get the full benefit of IE 10 performance. To see a sample HTML app that demonstrates this, check out the “Building Your First Metro Style App Using Javascript” hands-on lab at http://www.buildwindows.com/Labs.

    Figure 1: HTML Content from Bing Maps in an HTML Metro Style App
    With Metro style apps, it’s easy to integrate many existing Web services seamlessly into your app. It’s also possible to build new services for your app that let you deliver dynamic HTML content without having to update your application.
    When you include Web content in your Metro style app, your app gets all the performance benefits of IE10 automatically without any additional or special work. JavaScript code continues to run fast with JIT compilation, and your app will automatically use GPU to accelerate HTML graphics.
    —Andy Zeigler, Senior Program Manager, Internet Explorer

    More...

      My System SpecsSystem Spec

  2. #2


    HTML5 is coming baby, It's my 1st experience of new gen HTML5,

    Currently I'm enjoying HTML5 videos on youtube with ff
      My System SpecsSystem Spec

High performance HTML5 content in Metro-style Apps
Related Threads
More...
Read more at: Windows 8 store now up to 450 Metro-style apps | Windows 8 - CNET Reviews
More...
Solved Mouse problems in Metro Style Apps in Drivers & Hardware
Hiya, I just recently installed windows 8 but I seem to be having some real trouble with my mouse. I can use the mouse perfectly in Firefox, but when I go to use it in metro style apps it will change cursor when over button but when I go to click nothing happens. It works fine in the Start Menu...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook