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

perf check #698

Merged
merged 3 commits into from
Aug 31, 2022
Merged

perf check #698

merged 3 commits into from
Aug 31, 2022

Conversation

jafu888
Copy link
Collaborator

@jafu888 jafu888 commented Aug 22, 2022

No description provided.

@jafu888 jafu888 requested a review from camaelon August 22, 2022 22:41
@jafu888
Copy link
Collaborator Author

jafu888 commented Aug 26, 2022

image

case NUMBER_OF_CHILD_VIEWS:
return "ChildCount";
case NUMBER_OF_CHILD_MEASURES:
return "ChildrenMeasures";
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: I am not sure if this is for the number of measures calls made by children. If so, maybe we could name it ChildrenMeasuresCalls, or NumberOfMeasures to match line 216, or WidgetsMeasuresCalls to match DURATION_OF_CHILD_MEASURES.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

One is the
A. Number of times ConstraintLayout called child.measure()
number of calls to child measure or number of child.measure()'s
The other is
B. The time spend in children doing measure.
or duration spent in children.measure()

"Child Measures Calls" implies the children called measure. They might because they might have children but we do not measure that.

Children have a method measure() which ConstraintLayout called
The Child spends time in Measure.

Anyway it was intentional

Copy link
Collaborator

Choose a reason for hiding this comment

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

Makes sense. Thanks for the explanation!

@jafu888 jafu888 merged commit edf84cc into main Aug 31, 2022
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