JavaScript, graphics performance improvements on tap for IE9
By siliconindia
|
Friday, 20 November 2009, 15:01 IST
Bangalore: At Professional Developers Conference (PDC), Microsoft revealed about what the next version of its browser will bring to the world. The announcement described three main areas of improvement: JavaScript, Web standards, and graphics technology. Internet Explorer 9 (IE9) will contain a new emphasis on performance and graphics, and should make the browser far more competitive with its competitors.
As reported by Ars Technica, IE9 will contain a new, significantly faster JavaScript engine and will have a richer support for Web standards like CSS 3. It will also use the new Direct2D and DirectWrite technology for its graphics and text rendering. Microsoft made the point that different websites place different performance demands on a browser. With IE9, Microsoft intends to not just improve performance in limited benchmarks (that focus on a single aspect of browser performance), but also to ensure that real-world websites become faster. Rendering the webpage in IE8 is performed predominantly on the CPU. Direct2D is a new Windows API that uses hardware Direct3D acceleration to accelerate 2D graphics, available in Windows 7 and as a patch for Windows Vista. Through the use of Direct2D, IE9 will perform all graphics rendering on the GPU, providing quicker page rendering, faster, smoother animation, and high quality image scaling.
JavaScript performance has become an increasingly important concern for Web applications. As Web apps have become more capable and more fully-featured, JavaScript engines have had an ever-greater burden placed on them. Though IE's JavaScript engine has got faster - the widely used SunSpider benchmark takes about half the time to run in IE8 as it does in IE7 - it still lags behind other browsers quite considerably. IE9 is getting a brand-new engine that should take IE's JavaScript performance to the proverbial next level. Technical descriptions of the new engine made it sound quite similar to the V8 engine used in Chrome; the new IE9 JavaScript engine will compile JavaScript into native code, just like in V8, and the technique it will use to speed up the object-oriented nature of JavaScript also sounded similar to the approach V8 takes.
Early results suggest that the current IE9 engine performs in the same ballpark as betas of Firefox, Safari, and Chrome. IE is still the slowest, but the difference now ranges from 10 percent slower (compared to Firefox) to 100 percent slower (compared to Chrome), rather than 5-600 percent slower as is presently the case for IE8. The IE team does not want to be trailing any more, and performance is now clearly a big deal.
However, there is considerable demand among developers for new features: CSS 3, HTML 5, SVG, and Canvas. Many of these standards are still themselves in flux, being in the draft stages of development rather than finalized specifications, but many of their features are so compelling (HTML 5's native support for embedded video, CSS 3's rounded corners, Canvas's extensive graphical capabilities) that developers want them right now. At PDC, Microsoft would not commit to supporting any particular features or specifications with IE9. The company did state that its focus would be on providing the features that were actually most useful to developers, and ensuring that those features had robust test suites.
IE9 is still in its early days, and there is no hint of a date at which a beta might become available. Many questions, especially about standards support, remain unanswered. The switch to Direct2D may also mean an end to XP support (Direct2D is unavailable on that OS). Nonetheless, the announcements give a strong indication that Microsoft is taking its browser seriously, and wants it to be a viable alternative to its competitors.