1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    65
    Answers
    7
    Vote Rating
    1
    warrean is on a distinguished road

      0  

    Default Unanswered: Render-time difference between DataView and List (wrapped in PhoneGap)

    Unanswered: Render-time difference between DataView and List (wrapped in PhoneGap)


    Hi,

    There's a big difference in rendering-time, it seems the DataView is almost 50% faster.

    My test-case:
    + NavigationView
    +-----SubView1
    +-----SubView2

    In test-case 1 both sub-views are DataViews, in case 2 both are Lists.
    Tapping an item in SubView1 pushes the new View with a card-slide animation.

    I compared the app wrapped in PhoneGap on a Samsung Galaxy S3 and S2.

    The S3 with the Lists is way slower to switch views than the S2 with the DataViews.
    List-components apparently make your app feel much heavier, this was a dealbreaker with a client and I had a hard time finding out that Lists are slower than DataViews.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,756
    Answers
    3462
    Vote Rating
    828
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    List does quite a bit more than DataView to support infinite dataset. List will render slower but during runtime with as many records in the store it will handle it a lot better. If you try to use DataView with a thousand records in the store, the device will struggle to handle that many DOM nodes so the List can handle this. If you don't need the features List brings to the table, then just use a DataView and style it the way you need it to look.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    65
    Answers
    7
    Vote Rating
    1
    warrean is on a distinguished road

      0  

    Default


    Yes I understand that, though I hope that render-time will be a bit more improved.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi