liwen · Dec 6, 2011 at 06:09 pm

Former Google Engineer Explains Why Android’s UI is Laggy

You may have read our recent article about a post written by Dianne Hackborn, a Google engineer, in which she clarifies some issues concerning hardware acceleration in Android. In short, even though Android has had “full” hardware acceleration for its UI since Honeycomb, there are still lots of other issues that prevent it from being as smooth as Windows Phone or iOS. Now, Andrew Munn, a former intern at the Android team, has written another post in which he identifies the root cause for this:

It’s because on iOS all UI rendering occurs in a dedicated UI thread with real-time priority. On the other hand, Android follows the traditional PC model of rendering occurring on the main thread with normal priority.

He illustrates this point with the following example:

Grab your closest iPad or iPhone and open Safari. Start loading a complex web page like Facebook. Half way through loading, put your finger on the screen and move it around. All rendering instantly stops. The website will literally never load until you remove your finger. This is because the UI thread is intercepting all events and rendering the UI at real-time priority.

If you repeat this exercise on Android, you’ll notice that the browser will attempt to both animate the page and render the HTML, and do an ‘ok’ job at both.

For a full explanation, head over to read his full post on Google+.


_________
Want something on the XDA Portal? Send us a tip!
TAGS:

liwen

liwen is an editor on XDA-Developers, the largest community for Android users. View liwen's posts and articles here.
Mathew Brack · Apr 1, 2015 at 05:51 pm · 4 comments

April Fools Round Up: The Year of Nostalgia

April Fools Day is once again upon us and as usual, tech companies everywhere have not failed to keep us entertained. With a trove of fantastic faux product launches and even some real product launches that were taken as April Fools jokes, people have been busy releasing their hilarious ideas. With many of these jokes being nostalgic and some even being functional it's easy to appreciate the spirit behind them. Samsung Galaxy Blade Edge In a reference to the Galaxy...

XDA NEWS
Tomek Kondrat · Apr 1, 2015 at 05:43 pm · 2 comments

Android 5.1 OTA for Nexus Round-Up

The beginning of April is dominated by April Fools. There are jokes and pranks everywhere, which are meant to fool people. This news is no joke though, as Google has pushed the shiny red button to send out over-the-air updates to supported devices. Well, sort of, as only a few of available Nexus devices got updates to Android 5.1. Here's a list of OTAs that can be downloaded and flashed by stock recoveries. You can find guides on how to revert...

XDA NEWS
Chris Gilliam · Apr 1, 2015 at 04:29 pm · 4 comments

Google’s Prank Roundup for April Fools 2015 [Updated]

Once again, we have arrived on the most magical of holidays - the annual unveiling of HalfLife 3, and day on which co-workers believe it is appropriate to duct tape air horns behind doors. I speak, of course, about April Fools Day. As has become their custom, Google launched lighthearted "pranks" for each of their various services (with other tech sites and vendors following suit), and we have done our best to round up the humorous products and tweaks surfacing thus far....

XDA NEWS
Share This