Results 1 to 3 of 3

Thread: HTML Rendering Slow

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    2
    Vote Rating
    0
      0  

    Default HTML Rendering Slow

    Hi There

    Im just wondering if anyone can help, we have a small application that has some HTML pages, from a json store.

    The layout of the app is standard a container panel, a left panel holding the menu, a right panel for the html content, and a controller.

    We have determined that the length (with or without images) of the html on a panel has serious performance implications, some of the pages take 3 - 4 seconds on an ipad 1 to render.

    We have cut down the html to a few lines, this greatly speeds up the rendering, but im just wondering how this could happen within a webkit browser?

    FYI these are not enormous pages of HTML, maybe 500 words, with 3 images at the most, nothing hugely complex.

    Any ideas would be greatly appreciated, we have tried everything we can think of so are looking for some valued external input.

    Regards

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1382
      0  

    Default

    It's not really WebKit specific... DOM is always going to be the slowest thing you can deal with. The more read/writes to the DOM, the slower. The more elements in the DOM, the slower.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    2
    Vote Rating
    0
      0  

    Default

    Right, i agree with you there entirely, we have stripped it down to the most basic layout we can use however there isnt much improvement.

    We are adding timing code to the sencha library to find out where the bottleneck is and i will report back with our results. It may just point out where we are going wrong.

    P

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
  •