Results 1 to 2 of 2

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

  1. #1
    Sencha User
    Join Date
    Feb 2013
    Posts
    5
    Vote Rating
    2
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •