#compose-multiplatform when the app is opened, 4 c...
# decompose
u
#compose-multiplatform when the app is opened, 4 components are launched and the ui is visible after 5 seconds, how to reduce this time?
a
Can you provide more details? Is it a UI thread freeze? What causes the delay?
u
when the app is opened for the first time, the white screen appears for 5 seconds, then the ui appears I thought complex ui was in effect and I just created a simple ui to test it, it didn't help..
a
Well, without a reproducer it's hard to help. Would it be possible to create one?
u
ok i will create a retest app for you.
👍 1
These are real project screenshots
a
All look good
opens quickly in the emulator, hard to detect, run it on a real device..
Applications opening speed: DecomposeCounterApp: 1.2 seconds MySlowOpeningTestApp: 2.6 seconds MyRealProject: 4.7 seconds
a
Thanks! I think this slowness is related to Compose, as it needs time to warm-up. I tried running a release version of the reproducer and it opens much quicker. You can also try asking in #compose-android.
It doesn't look related to Decompose.