Results 1 to 6 of 6

Thread: App speed

  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    81
    Vote Rating
    0
      0  

    Default App speed

    Hi! I've created a simple app (Sencha Touch + PhoneGap) but it seems very slow: when I tap on a button, there is a delay before show response. Why this??

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,416
    Vote Rating
    1270
      0  

    Default

    It depends on what your app is doing
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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
    Mar 2011
    Posts
    81
    Vote Rating
    0
      0  

    Default

    Now it's very simple... show records imported.... but when I tap on top or bottom buttons... I show delay before show action.

  4. #4
    Sencha User aatiis's Avatar
    Join Date
    Nov 2011
    Location
    Bajmok, Serbia
    Posts
    60
    Vote Rating
    3
      0  

    Default

    I think what you're experiencing is the delay the browser adds before registering a button click/tap event. Try using the "touchstart" event instead of "tap", and see if the delay is gone. Of course, it will screw up your scrolling, so you'll have to implement something like what Google has with their mobile gtalk app.

  5. #5
    Sencha User edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    11
      0  

    Default

    We've been able to speed up button tapping significantly since the last release, B3 shows much improved performance there
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  6. #6
    Sencha User aatiis's Avatar
    Join Date
    Nov 2011
    Location
    Bajmok, Serbia
    Posts
    60
    Vote Rating
    3
      0  

    Default

    Glad to hear that, edspencer! You guys save us from a lot of coding with every release.

Posting Permissions

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