Skip to content
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

Make snapshots of performance profile under normal usage #433

Open
tremblerz opened this issue Apr 11, 2020 · 5 comments
Open

Make snapshots of performance profile under normal usage #433

tremblerz opened this issue Apr 11, 2020 · 5 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@tremblerz
Copy link
Contributor

Both Android Studio and XCode have nice set of tools to profile the system level parameters for an app in both foreground and background mode. This would help clearly in two ways -

  • Answering some of the common questions like what is the standard usage, battery drain and etc.
  • With New PRs which bring a considerable change in the App's logic, it would be good to compare them with the existing benchmarks.
@summetj summetj added the good first issue Good for newcomers label Apr 29, 2020
@sparks2209
Copy link

Please assign this to me.
While looking into issue #727 , i have taken CPU and memory utilisation readings.

@sparks2209
Copy link

Here is my analysis,
When app is in foreground during launch CPU utilisation is 0%, Memory is 93.5 MB and energy consumption is high.

On Dashboard CPU utilisation is 43%, Memory is 110 MB and energy consumption is high.

I could see increasing and decreasing trend in CPU and memory utilisation when navigating from one page to another, during transition utilisation is high after loading the screen CPU and memory utilisation is slightly low.

Screenshot 2020-05-28 at 12 26 25 PM

Screenshot 2020-05-28 at 12 29 18 PM

Screenshot 2020-05-28 at 12 29 31 PM

Screenshot 2020-05-28 at 12 29 46 PM

Screenshot 2020-05-28 at 12 30 56 PM

Screenshot 2020-05-28 at 12 31 08 PM

When app is in background it’s consuming more CPU of 54% and Memory of 86MB constantly and Energy impact is very high.

When going from foreground to background, I could see decrease in memory consumption.

@summetj
Copy link
Collaborator

summetj commented May 29, 2020

WOW! That certainly seems like too much CPU usage when in the background

@sparks2209
Copy link

@summetj : how should be conclude this

@tremblerz
Copy link
Contributor Author

Is it possible for you to disable some of the features and see what is causing such high usage? For example - comment out the GPS logging feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants