Skip to content

Conversation

@kenzieschmoll
Copy link
Member

Fixes #101535. The extra arguments were previously hidden behind the debugProfileBuildsEnabled, debugProfileLayoutsEnabled, and debugProfilePaintsEnabled flags. Now the additional arguments. will be hidden behind their own respective debugging flags -- the additional event arguments make the timeline trace very heavy. debugProfileBuildsEnabled, debugProfileLayoutsEnabled, and debugProfilePaintsEnabled are useful without the extra arguments, so we want to make these features useable without severely impacting the app's performance due to tracing overhead.

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@flutter-dashboard flutter-dashboard bot added the framework flutter/packages/flutter repository. See also f: labels. label Apr 8, 2022
@kenzieschmoll kenzieschmoll requested a review from goderbauer April 8, 2022 20:45
Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

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

LGTM

@kenzieschmoll kenzieschmoll merged commit 14cf4da into flutter:master Apr 11, 2022
@kenzieschmoll kenzieschmoll deleted the buildargs branch April 11, 2022 20:56
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Apr 11, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 11, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 11, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do not send debugTimelineArguments when debugProfileBuildsEnabled == true

2 participants