Performance regression stemming from AppEventsLoggerImpl#activateApp()
1

Hi folks.

We have been observing a regression in our app's startup performance. From the profiler trace, we saw that com.facebook.appevents.AppEventsLoggerImpl$Companion.activateApp took nearly 400ms to complete.

Is this an expected behavior?

Most of the duration can be attributed to FetchedAppGateKeepersManager. We've taken a look into the source code and found that it involves several operations that's best be kept off the Main thread (SharedPreference access, JSON deserialization, to name a few).

Hadi
質問日時: 約11ヶ月前