Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

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
Contributor

@jafu888 jafu888 commented Aug 22, 2022

No description provided.

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

jafu888 commented Aug 26, 2022

image

@jafu888 jafu888 requested a review from oscar-ad August 30, 2022 16:13
@oscar-ad oscar-ad requested a review from jswong65 August 30, 2022 18:07
case NUMBER_OF_CHILD_VIEWS:
return "ChildCount";
case NUMBER_OF_CHILD_MEASURES:
return "ChildrenMeasures";
Copy link
Contributor

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
Contributor 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
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants