1. #1
    Sencha User
    Join Date
    Feb 2013
    Posts
    5
    Vote Rating
    2
    keyworks2 is on a distinguished road

      0  

    Default Answered: Ext.List is very sluggish in 2.1.1 vs 2.0.0

    Answered: Ext.List is very sluggish in 2.1.1 vs 2.0.0


    I've been trying to improve the responsiveness of scrolling in Ext.List on ST 2.1.1 as it is very sluggish and stutters a lot on my device (tested on Samsung Galaxy S3).

    My code is very simple - just a basic Ext.List with 10 items and I couldn't figure out what was causing the slowness so I decided to look at some sample code from here: http://try.sencha.com/touch/2.0.0/do...taview.List.2/

    I noticed that this example list uses ST 2.0.0 and it is buttery smooth on my devices. As soon as I swap out 2.0.0 with 2.1.1, list scrolling becomes very sluggish.

    I've recorded some timeline information in chrome for android's web inspector and you can see the difference. I've recorded myself scrolling down a list on Chrome for Samsung Galaxy S3.

    Ext.List with ST 2.0.0
    2.0.0 timeline.jpg


    Ext.List with ST 2.1.1

    2.1.1 timeline.jpg

    ST 2.1.1 seems to be doing more work in between the rendering causing the scrolling to be sluggish. Has anyone else encountered this problem? Is this just a fault in version 2.1.1?

  2. The list in the 2.1 branch supports infinite data so there is some more work being done behind the scenes. If you don't want this then you can use the DataView and style it yourself.

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,641
    Vote Rating
    898
    Answers
    3573
    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


    The list in the 2.1 branch supports infinite data so there is some more work being done behind the scenes. If you don't want this then you can use the DataView and style it yourself.
    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.

Thread Participants: 1

Tags for this Thread