mozilla-magnet / magnet-client

A nearby content discovery client for Android & iOS
Mozilla Public License 2.0
19 stars 10 forks source link

~2 second pause before anything is rendered on app start #354

Open samgiles opened 8 years ago

samgiles commented 8 years ago

There is a 2 second pause on a cold app start.

Looks like debugging on Android might be difficult: https://github.com/facebook/react-native/issues/9349

wilsonpage commented 8 years ago

We could use a splash screen :)

samgiles commented 8 years ago

I have a feeling it's the JS thread doing something. When I profiled this, it appeared that the render tree was calculated, but all threads then remained idle for about two seconds. That's when I discovered the aforementioned issue. I'm gonna figure out how to enable the systrace from JS for Android. i.e. Fix the mentioned issue.

On 22 Nov 2016 19:05, "Wilson Page" notifications@github.com wrote:

We could use a splash screen :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mozilla-magnet/magnet-client/issues/354#issuecomment-262334107, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzSjv-1qchBNe5gU83IJrv9dYkKEFIXks5rAz0OgaJpZM4K5yfp .