Skip to content

OboeTester: Use shared stream for cold start latency test#2358

Merged
robertwu1 merged 2 commits into
mainfrom
robertwu/sharedstreamcoldstartlatencytest
Apr 7, 2026
Merged

OboeTester: Use shared stream for cold start latency test#2358
robertwu1 merged 2 commits into
mainfrom
robertwu/sharedstreamcoldstartlatencytest

Conversation

@robertwu1
Copy link
Copy Markdown
Collaborator

This should be a shared stream as the original shared stream could be closed when the app is closed.

Fixes internal bug b/496584594

@robertwu1 robertwu1 requested a review from flamme March 26, 2026 21:22
Copy link
Copy Markdown
Collaborator

@flamme flamme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit confused. mStream itself is shared pointer, it should guarantee alive unless open failed and it doesn't get allocated.

@robertwu1
Copy link
Copy Markdown
Collaborator Author

This fix isn't for the crash but for making sure that cold start latency gets shown after requestStart()

@robertwu1 robertwu1 merged commit b94cc36 into main Apr 7, 2026
3 checks passed
@robertwu1 robertwu1 deleted the robertwu/sharedstreamcoldstartlatencytest branch April 7, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants