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

Implement metric for free cpu memory #5116

Merged
merged 8 commits into from
Mar 21, 2025

Conversation

andrewsavage1
Copy link
Contributor

@andrewsavage1 andrewsavage1 commented Mar 19, 2025

Replaced the CVal Memory.CPU.Free from Cobalt 25 and earlier.

b/390263164

@andrewsavage1
Copy link
Contributor Author

I can't seem to access performance.measureUserAgentFreeMemory (it's undefined), looking into what's going wrong...

Bindings do not get generated at all and there is no build error if a
semicolon is missing from the end of the interface definition.
@andrewsavage1
Copy link
Contributor Author

I've fixed this, there was an issue where the binding for the extension function wasn't generating due to a missing semicolon (6fc9281) which gives no build error at all. Seems like it might be a bug in the Chromium IDL parser to not report that at all

@andrewsavage1 andrewsavage1 marked this pull request as ready for review March 20, 2025 15:40
@andrewsavage1 andrewsavage1 requested a review from a team as a code owner March 20, 2025 15:40
Copy link
Contributor

@hlwarriner hlwarriner left a comment

Choose a reason for hiding this comment

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

Left a few comments, mostly about naming. Everything else looks good.

Copy link
Contributor

@yell0wd0g yell0wd0g left a comment

Choose a reason for hiding this comment

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

LGTM modulo all reviewers' comments addressed.

Copy link
Contributor

@hlwarriner hlwarriner left a comment

Choose a reason for hiding this comment

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

LGTM!

@andrewsavage1 andrewsavage1 enabled auto-merge (squash) March 21, 2025 17:03
@andrewsavage1 andrewsavage1 merged commit a6e5022 into youtube:main Mar 21, 2025
151 checks passed
@andrewsavage1 andrewsavage1 added the cp-26.android Cherry Pick to the 26.android branch label Mar 21, 2025
cobalt-github-releaser-bot pushed a commit that referenced this pull request Mar 21, 2025
Replaced the CVal Memory.CPU.Free from Cobalt 25 and earlier.

b/390263164

(cherry picked from commit a6e5022)
andrewsavage1 added a commit that referenced this pull request Mar 21, 2025
Refer to the original PR: #5116

Replaced the CVal Memory.CPU.Free from Cobalt 25 and earlier.

b/390263164

Co-authored-by: Andrew Savage <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cp-26.android Cherry Pick to the 26.android branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants