NativeScript / nativescript-marketplace-demo

NativeScript kitchen sink demo. All of NativeScript’s functionality in one app.
http://www.nativescript.org
Apache License 2.0
325 stars 97 forks source link

The marketplace demo app launches slower with version 2.4 #245

Closed vchimev closed 7 years ago

vchimev commented 7 years ago

The marketplace demo application built with {N} 2.4.0 launches for ~3s684ms. For a reference, the same app built with {N} 2.2.0 launches for ~2s968ms. Both times are for the app built with a snapshot of the cross-platform modules.

Device: Nexus 6P Android: 6.0.1

vchimev commented 7 years ago

It seems that the delay is caused by adding the push notifications support (https://github.com/NativeScript/nativescript-marketplace-demo/pull/232).

Based on CI builds:

PanayotCankov commented 7 years ago

Disabling firebase crash reporting speeds things up a lot. Removing this from the firebase plugin: // compile "com.google.firebase:firebase-crash:9.8.+" Boosts startup time from 3.5 to 2.8 secs.

vchimev commented 7 years ago

Thanks, @PanayotCankov!