1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    175
    Vote Rating
    9
    huberte will become famous soon enough

      0  

    Default Unanswered: Slow iOS app

    Unanswered: Slow iOS app


    Hi,


    I build an iOS app this way with ST2.1.0 and cmd 3.0.0.250 :


    0. deleted some unuse modules in scss
    1. Running on a server : no error
    2. Build testing : no error
    3. Build package : no error
    4. sencha package build ios.json with the packaged application


    Code:
    {"applicationName":"Myapp 2013",
    "applicationId":"Tfdzdfsdfsdf.fr.myapp.fb2013",
    "bundleSeedId": "Tfdzdfsdfsdf",
    "versionString":"1.0",
    //"versionCode":"1.0",
    //"phoneStartupScreen":"resources/loading/Default@2x.png",
    "icon": {
            "57":"resources/icons/Icon.png",
            "72":"resources/icons/Icon~ipad.png",
            "114":"resources/icons/Icon@2x.png",
            "144":"resources/icons/Icon~ipad@2x.png"
        },
    "inputPath":"D:/www/myapp-final/www/build/ma2013/package/",
    "outputPath":"D:/final/",
    "configuration":"Debug",
    /**
    * @cfg {String} platform
    * @required
    * This is the platform where you will be running your application. Available options are:
    * - iOSSimulator
    * - iOS
    * - Android
    * - AndroidEmulator
    */ 
    //"platform":"iOS",
    //"deviceType":"iPhone",
    //"platform":"AndroidEmulator", 
    "platform":"iOS", 
    "deviceType":"Universal",
    "certificatePath": "D:/Application/keys/IOS/Certificates.p12",
    "certificatePassword":"Sencha-rUl3Z", 
    "provisionProfile":"D:/Application/keys/IOS/Betatester.mobileprovision",
    "certificateAlias":"Gandalf the Grey",
    //"sdkPath":"c:/Program Files (x86)/Android/android-sdk",
    //"androidAPILevel":"15",
    "orientations": [
    "portrait",
    "landscapeLeft",
    "landscapeRight",
    "portraitUpsideDown"
    ]
    }

    I have not so much things in my app (navview, carousel, nested list).

    The app is horrbile slow on iOS (iphone 4s iOS 6 very very slow, ipad 5 ios6 : very slow) comparing to webapp on safari on the same platform.


    Building for android produces a way more responsive application.


    Did I something wrong ?Any hint to speed up the native app on iOS ? Is it because of the debug configuration ?


    thanks

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,791
    Answers
    3465
    Vote Rating
    833
    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 config for the packager shouldn't really matter much. The webview javascript performance is worse vs mobile safari's so it's really what you are doing and how much you have rendered at once.
    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
    Jul 2012
    Posts
    175
    Vote Rating
    9
    huberte will become famous soon enough

      0  

    Default


    The app is very fast on android (sgs2), not on iphone 4S

    I have nested list, small store, carousel, images, but not so much

  4. #4
    Sencha User
    Join Date
    Jul 2012
    Posts
    175
    Vote Rating
    9
    huberte will become famous soon enough

      0  

    Default


    Trying to reduce my sass :

    $basic-slider : true;
    $include-form-sliders : false;

    does nothing !

    Code:
    >>> Change detected at 09:35:34 to: app.scss
    identical ../css/app.css

  5. #5
    Sencha User
    Join Date
    Jul 2012
    Posts
    175
    Vote Rating
    9
    huberte will become famous soon enough

      0  

    Default


    I did add all the thing I could on sass to reduce my css file (gradient, round, slider effect)

    The most horrible thing on my native iOS app (again, not the case on Android, desktop or safari on iOS) is the back button on NavigationView.

    I have a Navivew with a list (model, store, controller), pushing depending on which item I tap (thanks again Ingo ). that's all. This Navview is in a tabpanel.

    Not so much items in my list either (5 or 10), you can see the code here : http://www.sencha.com/forum/showthre...m-tap-on-list)

    Thing is the back button is horribly slow on iOS native, don't know why, here is my timeline (back button fired between2:70 and 3:70) on google chrome (you can load it when you right click on the timeline)

    It's pretty long , almost 1 second to go back on my desktop, I can't imagine how long on (how mitch says) handicapated UIwebview on iOS...

    Could you please look at my timeline and give me advises please ?

    Thanks a lot.
    Attached Files

  6. #6
    Sencha User
    Join Date
    Jul 2012
    Posts
    175
    Vote Rating
    9
    huberte will become famous soon enough

      0  

    Default


    It's very frustrating, I have a very light code with list and 4 or 5 items (see previous post), it seems thaht this is the same problem than here :

    http://www.sencha.com/forum/showthre...-devices/page3

    Are there any news ?

Thread Participants: 1

Tags for this Thread

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