-
Notifications
You must be signed in to change notification settings - Fork 740
Fix bloat-gathering script #29822
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
Fix bloat-gathering script #29822
Conversation
|
🟢 |
|
⚪
🟢 |
|
⚪
🟢 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes a bloat-gathering script that broke due to changes in the Chrome trace format resulting from a clang version update. The script previously expected trace events with a "dur" (duration) field but now needs to handle begin/end event pairs with "ph" (phase) field values of "b" and "e".
Key Changes
- Refactored
build_include_treeto process begin/end event pairs instead of complete duration events - Updated
parse_includesto match begin and end events using a dictionary to track pending begin events - Replaced sorted event processing with stack-based tracking for both functions
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
⚪
🟢 |
|
⚪
🟢 |
Commented out lines related to parsing bloat.json and syncing template_bloat files until further development.
|
⚪
🟢 |
|
⚪
🟢 |
|
⚪
🟢 |
|
⚪
🟢 |
Changelog entry
Chrome trace format has changed due to clang version update, this PR changes the handling of the traces
Changelog category