Saturday, December 25, 2010

2010 Bustle Style Wedding Gowns

Chrome and Firefox on mac, improvable performance.

Although I am a hardcore user of Chrome on Mac, I am surprised at the differences performance between the browser and the Safari browser for Mac OSX home. Indeed, by making a test web interface using Flash and Javascript I've realized that Chrome accused of some delay on Safari in performance in the management of Flash and Javascript. By testing other browsers I found that it was also the case of FireFox. For some minutes using Chrome and Firefox about 90% of the CPU instead of 30% for Safari. Opera, when it gets closer to Safari with consumption slightly higher.

To get to the bottom, you can test. Play a Flash animation greedy enough to a bitmap image of a fairly large size. The property wmode swf must be transparent.

Result Chrome uses a lot of CPU, if you resize the page strangely cpu consumption will fall but do not reach the tranquility of a safari. My hypothesis is that Chrome recalculates the total area of the image each frame of the flash element, instead of just recalculate the area that it occupies. When you resize the window, Chrome resize the background image without applying any processing antialiasing, so that the picture is not entirely clear. Make an image without antialiasing processing is less CPU-the difference is obvious when the image is generated 24 times per second. See below the performance of each browser.

Chrome basic rendering
Chrome after rendimentionnement


For Firefox there is a strange phenomena, depending on the size of the window use the cpu goes double. By reducing the window, past a certain threshold runaway consumption. And I have no explanation.

Firefox that shit (mysteriously)
Firefox manages


Opera
Safari

Safari and Opera remain steadfast in their treatment, the CPU not getting carried away. So is it time to optimize the guys at Google and Mozilla have ZAPE in the race? Or is it because Apple keeps a head start on using their own tools? Still, Opera has managed to hound Safari. Ultimately I advise to stay on Safari, the rendering of animations, the management of CSS3, flash for me ... Even if Chrome is a marvel in terms of ergonomics, on a purely technical point Safari remains a master.

0 comments:

Post a Comment