BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Where Does IE Spend Most Time When Loading a Page?

Where Does IE Spend Most Time When Loading a Page?

Leia em Português

This item in japanese

Jason Weber, Lead Program Manager responsible for Internet Explorer Performance, has released some internal data showing where IE 8 spends most of its time while preparing a page then rendering it, suggesting what websites should be focusing on.

According to Weber, Internet Explorer contains 11 subsystems starting with Networking and ending with Rendering:

  1. Networking – responsible for communication with the server. It includes services like caching the web content.
  2. HTML – responsible for parsing the HTML document and creating the DOM. There are similar subsystems for XML, XHTML and SVG documents.
  3. CSS – parsing CSS style and creating a structural representation of it for later use.
  4. Collections – responsible for storing and accessing HTML metadata.
  5. JavaScript – executes the scripts.
  6. Marshalling – represents the layer of communication between the browser and the JavaScript engine.
  7. Native OM – the JavaScript engine accesses the HTML document through the DOM API contained by this subsystem.
  8. Formatting – Applies styles to each document component.
  9. Block Building – Each component of the document receives a rectangular block that will be rendered after being layout.
  10. Layout – Responsible for laying out all the blocks.
  11. Rendering – Responsible for the final stage of page loading when all the blocks are drawn onto the screen.

Microsoft has tested IE 8 against 5 major news sites and another 25 AJAX-heavily sites in order to see where the browser spends most of its time when loading a page. The networking performance issues being taken out of the equation, it resulted that some sites are heavy on JavaScript while others spend more time on Marshalling:

image

For news sites, on average IE 8 spent most time on JavaScript - 29%, followed by Marshalling - 18% and Rendering - 17%.

Microsoft has also profiled 25 AJAX sites including Facebook, Gmail and Hotmail, the results showing that IE 8 spent most time rendering web pages – 31% – followed by JavaScript – 21%, Formatting - 14% and Layout - 12%.

The IE team published some performance results for IE 9 in November last year, showing that IE 9 spent most of its time with JavaScript while loading news pages, but it spent a considerable time with layout for AJAX intensive pages like Excel Web App.

image

There are no results for the latest IE 9 Preview, which is supposed to change the hierarchy among subsystems, but Weber promises that as “we get closer to the IE9 beta we’ll talk more about how these subsystems come together in IE9 to change the performance characteristics compared to today’s generation of non-hardware accelerated browsers including IE8.” Maybe Microsoft will release the tools used to profile the web pages across different subsystems when it unveils IE 9 beta on September 15th.

Rate this Article

Adoption
Style

BT