Skip to content

JankStats #5455

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

JankStats #5455

wants to merge 4 commits into from

Conversation

Williamrai
Copy link
Collaborator

What does this do?

This implements JankStats. It copies a class from this sample project from google for testing purpose. It will log the jank stats when MainActivity goes into background. If it's possible you should test it with a lower spec device.

I tested this on a pixel 2 device and this were in the log.
JankStats: reason Activity pausedtotalFrames = 335 jankFrames = 11

Phabricator:
https://phabricator.wikimedia.org/T390624

@Williamrai Williamrai added the Experimental Experiments and prototypes label Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Experimental Experiments and prototypes
Development

Successfully merging this pull request may close these issues.

1 participant