-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traceview finds that albatross.onActivityCreated() takes lots of CPU time #24
Comments
@raymondctc where are you calling StartTaplytics?
Note: Today is a holiday here in Toronto for me, so I will have to get back to you tomorrow for this if I don't get to it later today. Thanks for bringing this up! |
Hi @VicV , I see. We do what the document suggested, to put startTaplytics inside Application class onCreate(). But we initialize it on a separate thread pool.
Not sure if this is related |
It may be. Any chance you can do it on the application thread and give me On Aug 1, 2016 10:11 PM, "Raymond Chan" notifications@github.com wrote:
|
Hi @VicV , I have tried to move back FYI, my device is RedMi 1, running on Android API 17 (JellyBean 4.2.2) |
Thanks @raymondctc, Currently working on a new release and will get to this ASAP. |
Note: Closing this as the "async" starting option alleviated a lot of issues. Regarding this without the async option: Right now the taplytics executor runs on the current available thread, so this function does operate on the main(UI) thread. I've opened a ticket internally to switch where this executor operates, however I am first going to write many tests revolving around that before I change anything given that it is such a large change. So, its on the roadmap. Thanks for brining this up! |
Hi developers,
We are using Taplytics 1.9.8 at the moment and we found that some Taplytics function takes too much time to run on UI thread and thus making the UI unresponsive, especially on slow devices.
Here is the screen capture of the traceview
It takes around 420ms for
albatross.onActivityCreated()
to be finished.The text was updated successfully, but these errors were encountered: