Performance

Internet Explorer 10 and Windows apps using JavaScript add support for web performance as defined in the World Wide Web Consortium (W3C) Web Performance Working Group specification.

Four new web platform features are available:

  • Navigation Timing
  • The Page Visibility API
  • The requestAnimationFrame method
  • The setImmediate method

These four platform APIs enable developers to make browsers use computer hardware more efficiently, improving both performance and power management of websites. These new APIs have been designed in collaboration with other browser manufactures through the W3C Web Performance Working Group.

Important  These features work identically in Internet Explorer 10 and Windows apps using JavaScript.

 

In this section

Topic Description

Efficient Script Yielding ("setImmediate")

The new setImmediate method can solve the problems of using setTimeout by addressing the core performance problem without negatively impacting power consumption.

Navigation timing

Navigation timing makes it easy to measure the real-world speed and performance of websites and locate problem areas that need tuning.

Page visibility

Internet Explorer 10 introduced support for the Page Visibility API, which provides a means for developers to use programming techniques to determine the current visibility of a document and be notified when the visibility changes.

Timing control for script-based animations ("requestAnimationFrame")

The requestAnimationFrame method (defined in the W3C's Timing control for script-based animations specification) can solve the lost frame problem because it enables apps to be notified when (and only when) the browser needs to update the page display.

 

IEBlog: Using PC Hardware more efficiently in HTML5: New Web Performance APIs, Part 1

IEBlog: Using PC Hardware more efficiently in HTML5: New Web Performance APIs, Part 2

Internet Explorer 10 Guide for Developers