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.
Emil Kako · May 4, 2015 at 12:33 pm · 3 comments

Who Is Your Favorite YouTuber That Covers Mobile?

There are dozens of talented YouTubers who cover mobile, but we want to know which ones are your favorite. Let us know who your favorite tech reviewers are and what makes them stand out compared to the others.

DISCUSS
Faiz Malkani · May 4, 2015 at 12:25 pm · 1 comment

Galaxy S6 Shipping with Different Camera Models

One of the Galaxy S6's most flaunted features is its spectacular camera, its 16MP with an f/1.9 aperture performing excellently in well-lit shots as well as low-light ones, with most reviews concluding that it trounces the camera on the iPhone 6 as well. However, all may not be right in Monde de la Samsung, as earlier today, XDA Member Bananaz came across a surprising detail about the shooter on the S6, and while the revelation is not necessary groundbreaking, it...

XDA NEWS
Faiz Malkani · May 4, 2015 at 11:05 am · 5 comments

No, Android Apps on Windows Mobile Isn’t a Good Thing

As Symbian and Blackberry OS gradually gave way to Android and iOS towards the turn of the decade, the former leviathans found themselves struggling to hold their ground and when all seemed lost, they were forced to resort to extreme measures. While Nokia gave in to an acquisition by Microsoft, RIM's plans were more out-of-the-box and one of their efforts to save the platform whose existence was nigh on end was to build a runtime that allowed Blackberry devices to run apps built...

XDA NEWS
Share This