Microsoft has released a technology preview version of IE9

Microsoft has released a technology preview version of IE9 also released a number of test examples.Taken as a whole to give us a tranquilizer.But I am very interested in one of case presentation.

Let’s look at this example:Click to open

Me the most curious is the chrome in this instance almost all browsers in the most slowly.The test results are unexpected.

If our in-depth analysis of the examples, we will find this example contains two functions will affect the performance:the JS animation and graphics rendering algorithms.

If we only need to test the algorithm animation can block out all the pictures.Test results are:chrome handle 256 images, an average of 44FPS.While other browsers IE7 (should not install IE9, temporarily using IE7 to test), firefox3.6, opera 10.50 on average 20 ~ 22fps.This result shows the algorithm on the chrome is still very much have an advantage.

But the animation is not the most important question JS algorithm, the biggest issue should be rendered from the image.If you look at a picture of each will find each picture are based on an 540×540 browser, including alpha transparent logo.Chrome can guess at the time of rendering large-size PNG to eat at a disadvantage.We look forward to the next version of chrome to fix the problem for PNG handling, after all, this is also the mainstream image formats.

Leave a Reply