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

UI for manual heap growth detection #2620

Open
pyricau opened this issue Jan 16, 2024 · 0 comments
Open

UI for manual heap growth detection #2620

pyricau opened this issue Jan 16, 2024 · 0 comments

Comments

@pyricau
Copy link
Member

pyricau commented Jan 16, 2024

Idea from @swankjesse:

  • We need some sort of new UI to start a heap growth scenario, then communicate every manual iteration of it, and see result.
  • Then users can manually perform the scenario N times, clicking a button in between, and each time they click we run the heap growth analysis, maybe telling them how much growth there's been, maybe with a "keep going" button

This would ideally just work out of the box with the normal LeakCanary dependency.

The biggest question here is the UI layer. A few considerations:

  • Ideally I really don't want to add more UI code to the leakcanary-android dependency as it's barebone Android which makes that code hard to write & maintain.
  • We could do it in the LeakCanary on device app.
  • We'd need some way to click recording buttons while also using the app. I'm thinking maybe the chat head APIs. Or maybe notifications.
  • Alternatively this could be a desktop app or Android Studio plugin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant