Ionic speed and performance

Hi everyone,

I want to share with you my experience to have a speed boot and light app.

I used a ionic 2 blank template to test this.

ionic info

Cordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 3.0.0-beta.4
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v6.9.5
Xcode version: Xcode 8.2.1 Build version 8C1002

  • And create my project ionic start todo blank

  • After i follow “Help us test Ionic Native 3.x” to remove ionic-native and use just plugin wath i need
    in a blank a template i used just
    "@ionic-native/status-bar": “^3.1.0”,
    "@ionic-native/splash-screen": “^3.1.0”,

  • Then i built my app with the “–prod” tag
    ionic cordova:build android --prod

I test result in my samsung S6 phone
The app open in 1,8s
The apk weight is 2 486 339 octets (2,5 Mo)

If someone have other idea pls share with us

PS
For jpeg compression, google launch a new tool to do that, take a look at GitHub, a very powerful tool

Thank you

Thanks for your sharing. I’m currently want to reduce my app’s open time, after adding several features, the open time increase 1-2 seconds.
I haven’t upgrade ionic CLI and ionic native yet, I will give a try and post the result.

About loading time, I did some optimizations and got 417ms loading time.
Look at report https://tools.pingdom.com/#!/DW6Td/http://m.sherpadesk.com/9118

Good recomendations:


Our site is completely on Ionic2
I written tutorial on https://www.sherpadesk.com/blog/optimizing-mobile-ionic-2-angular-2-app-for-production

Thanks for this post @eugenet. Your angular-university.io link 404’s though.

thanks @AaronSterling , fixed link