PDA

View Full Version : Android Performance



rvelasquez
25 Apr 2012, 7:16 AM
Hi,

I'm developing a cross platform mobile application using Sencha Touch 2 and Phonegap. We notice a performance degradation in scrolling on Android compared to iOS. It's not a big difference but our client feels it impacts the user experience of the application. Are there any plans to improve Android scrolling performance or is this as good as it gets?

Cheers,

Rom

mitchellsimoens
27 Apr 2012, 5:31 AM
Are you testing on your own app or an example? Android performance on the supported android versions (2.3 and 4.0.3) for what I have seen is great.

Magnock
31 May 2012, 4:54 AM
I really don't understand your answer !!
I'm testing the kitchensink website directly on a samsung galaxy tab 10.1 with android 4.0.4 and the performance is very terrible, I have to wait about 1s to get a menu response :
On the menu, clicking on "User Interface" makes about 1s to display the other menu !!!

I really don't know what to say to my customer that wants an enterprise app on galaxy tab 10.1 !!!

Check this video to see the performance : http://youtu.be/vTw5K1f5FLY

Please advice.

Thx

kostysh
31 May 2012, 7:26 AM
Performance of the UI in Android 4.0.3 (smartphone Huawei Honor, cpu 1.4GHz, 512M RAM) are also extremely slow.
Especially strongly noticeable delay when UI elements such as: TabPanel (to switch by the bottom buttons and the return-buttons - delay can be up to 1.5 seconds), NavigationView (similar problems), List (delay while scrolling and delay before discolse items).
Otherwise, Carousel element works with good performance.
I am sure that the limit of performance for Android has not yet been reached. Take a look at the performance of this component: http://cubiq.org/dropbox/iscroll4/examples/simple/
The performance of this component on Android is not very different from native.

Magnock
31 May 2012, 7:31 AM
Performance of the UI in Android 4.0.3 (smartphone Huawei Honor, cpu 1.4GHz, 512M RAM) are also extremely slow.
Especially strongly noticeable delay when UI elements such as: TabPanel (to switch by the bottom buttons and the return-buttons - delay can be up to 1.5 seconds), NavigationView (similar problems), List (delay while scrolling and delay before discolse items).
Otherwise, Carousel element works with good performance.
I am sure that the limit of performance for Android has not yet been reached. Take a look at the performance of this component: http://cubiq.org/dropbox/iscroll4/examples/simple/
The performance of this component on Android is not very different from native.

Indeed, your application on the link above has good performance ? Any Idea why ??

kostysh
31 May 2012, 7:34 AM
Yes, performance of component by link above is good.

Indeed, your application on the link above has good performance ? Any Idea why ??
Necessary to investigate this issue. Due to the fact that the architecture of the Sencha framework is complex - it causes some problems for profiling.

Magnock
31 May 2012, 7:40 AM
http://www.youtube.com/watch?v=FhACnxZEbu0

I find out this review, It seems to be more performant !! I don't know what to think !

thang_ibrahim
2 Jun 2012, 7:06 AM
Performance of the UI in Android 4.0.3 (smartphone Huawei Honor, cpu 1.4GHz, 512M RAM) are also extremely slow.
Especially strongly noticeable delay when UI elements such as: TabPanel (to switch by the bottom buttons and the return-buttons - delay can be up to 1.5 seconds), NavigationView (similar problems), List (delay while scrolling and delay before discolse items).
Otherwise, Carousel element works with good performance.
I am sure that the limit of performance for Android has not yet been reached. Take a look at the performance of this component: http://cubiq.org/dropbox/iscroll4/examples/simple/
The performance of this component on Android is not very different from native.
I agree.Returns buttons- delay can be up to 2 seconds :(
How to using iscroll4 (http://cubiq.org/dropbox/iscroll4/examples/simple/) in sencha touch ?

kostysh
4 Jun 2012, 12:16 PM
I agree.Returns buttons- delay can be up to 2 seconds :(
How to using iscroll4 (http://cubiq.org/dropbox/iscroll4/examples/simple/) in sencha touch ?
If you really want it - try to wrap this script with Ext.Container

But I think what Sencha hard working on performance of their framework and we will get better results in next releases.