Date: Thursday, March 11th, 2010, 06:36
As the war between Adobe Flash and HTML5 heats up, a recent comparison with numerous different browsers on both Mac and Windows produced wildly different results based on the operating system and browser, making neither a clear winner.
Per Streaming Learning Center, which conducted the study in response to recently alleged comments from Apple CEO Steve Jobs that reportedly called Flash a “CPU hog”, the test found that HTML5 is significantly more efficient than Flash on the Mac when running the Safari Web browser, those same advantages do not exist on other Mac browsers, or in Windows.
“It’s inaccurate to conclude that Flash is inherently inefficient,” author Jan Ozer wrote. “Rather, Flash is efficient on platforms where it can access hardware acceleration and less efficient where it can’t. With Flash Player 10.1, Flash has the opportunity for a true leap in video playback performance on all platforms that enable hardware acceleration.”
The report noted that Apple has not enabled the hooks to allow GPU-based acceleration for H.264 video decoding. Anand Lai Shimpi, founder of AnandTech, asserted “it’s up to Apple to expose the appropriate hooks to allow Adobe to (eventually) enable that functionality.”
Adobe’s update to Flash 10.1 on the Mac improved CPU efficiency within Safari by 5%, but the Web format still trails far behind HTML5 due to hardware acceleration. With Google Chrome, neither were particularly efficient, and Firefox saw slightly better performance than Chrome.
On Windows, Apple’s Safari browser doesn’t play HTML 5 content. But the Google Chrome browser in Windows played Flash 10.1 content with 58% more efficiency than HTML5.
HTML5 has yet to receive native support in Firefox or Internet Explorer, but the update from Flash 10 to Flash 10.1 improved CPU performance for the browsers by 73% and 35%, respectively. Flash 10.1 in Windows offers added hardware acceleration.
“When it comes to efficient video playback, the ability to access hardware acceleration is the single most important factor in the overall CPU load,” Streaming Learning Center noted. “On Windows, where Flash can access hardware acceleration, the CPU requirements drop to negligible levels.
“It seems reasonable to assume that if the Flash Player could access GPU-based hardware acceleration on the Mac (or iPod/iPhone/iPad), the difference between the CPU required for HTML5 playback and Flash playback would be very much narrowed, if not eliminated.”
Google added native YouTube support in January. The beta opt-in program is available only for browsers that support both HTML5 and H.264 video encoding.
Scrutiny over Flash has grown in recent months since Apple introduced its multimedia iPad device, which does not support the Web format from Adobe. Apple, instead, has placed its support behind HTML5.