Skip to content

profiling: investigate chunks with start/end sample duration much longer than 1 min #4970

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
armcknight opened this issue Mar 11, 2025 · 0 comments

Comments

@armcknight
Copy link
Member

Description

The chunks should be serialized at 1 min intervals, but we see some trunks that contain samples with timestamps much later than one minute from the initial sample. Our guess is that we don't always perfectly shut down the profiler on app background, so that when it's for grounded again, it resumes adding samples to the last chunk that was in flight.

See if we can reproduce this, and then we can consider how to handle it, maybe on foreground we make some additional checks and handling of the data structures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

3 participants