Though it’s only in beta, I think that it’s safe to say that Internet Explorer 9 is a huge step forward from Microsoft in terms of their web browser offerings.
When it comes to developing sites and applications, developers have usually relied on third-party plugins, add-ons, or custom code in order to measure performance. Internet Explorer 9 now provides a timing interface that makes it much easier to measure your project in Microsoft’s browser.
The window.msPerformance.timing interface is based on the W3C’s specification draft for timing information. The available measures are:
[cc lang=”csharp”]
interface MSPerformanceTiming{
readonly attribute unsigned longlong navigationStart;
readonly attribute unsigned longlong fetchStart;
readonly attribute unsigned longlong unloadStart;
readonly attribute unsigned longlong unloadEnd;
readonly attribute unsigned longlong domainLookupStart;
readonly attribute unsigned longlong domainLookupEnd;
readonly attribute unsigned longlong connectStart;
readonly attribute unsigned longlong connectEnd;
readonly attribute unsigned longlong requestStart;
readonly attribute unsigned longlong requestEnd;
readonly attribute unsigned longlong responseStart;
readonly attribute unsigned longlong responseEnd;
readonly attribute unsigned longlong domLoading;
readonly attribute unsigned longlong domInteractive;
readonly attribute unsigned longlong domContentLoaded;
readonly attribute unsigned longlong domComplete;
readonly attribute unsigned longlong loadStart;
readonly attribute unsigned longlong loadEnd;
readonly attribute unsigned longlong firstPaint;
readonly attribute unsigned longlong fullyLoaded;
}
[/cc]
From there, it’s possible to serialize to data into a specific format, record it, or pass it back to the client for displaying more information.
It’s definitely nice to see stuff like this coming from the Microsoft camp.
For more information on additional measures or to view a live demo, check out the Web Page Performance article on the Internet Explorer 9 blog.
sokkz says
I’m so used to beating on Internet Explorer — I’m gonna feel a great sense of loss if they suddenly start shooting par for the course. *rummages around the internet* There’s gotta be another web browser I can pick on here somewhere.
Tom says
Opera..?
I kid ;).