Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

MotionLayout home screen performance is very slow on cold startups #7700

Closed
colintheshots opened this issue Jan 14, 2020 · 2 comments
Closed
Assignees
Labels
P1 Current sprint performance Possible performance wins

Comments

@colintheshots
Copy link
Contributor

colintheshots commented Jan 14, 2020

It appears from Marc Leclair's recent SysTrace results that our home screen is loading significantly more slowly in part due to the use of MotionLayouts for hiding the Firefox Preview wordmark image and private browsing mode button. Given the very simple behavior currently being used, we can instead produce this animation using stock CoordinatorLayout behaviors instead. This should also reduce the depth of the layout hierarchy, which already had a CoordinatorLayout parent.

In addition, the bottom bar layout uses a nested ConstraintLayout that could trivially be converted to a LinearLayout or RelativeLayout for an additional speedup.

┆Issue is synchronized with this Jira Task

@colintheshots colintheshots added P1 Current sprint performance Possible performance wins labels Jan 14, 2020
@colintheshots colintheshots self-assigned this Jan 14, 2020
@colintheshots colintheshots added this to Needs prioritization in Performance, front-end roadmap via automation Jan 14, 2020
@colintheshots colintheshots moved this from Needs prioritization to In progress in Performance, front-end roadmap Jan 14, 2020
@mcomella mcomella moved this from In progress to Needs prioritization in Performance, front-end roadmap Jan 16, 2020
@mcomella mcomella moved this from Needs prioritization to Backlog (prioritized) in Performance, front-end roadmap Jan 21, 2020
@MarcLeclair MarcLeclair self-assigned this Jan 21, 2020
@mcomella mcomella moved this from Backlog (prioritized) to In progress in Performance, front-end roadmap Jan 22, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Jan 22, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Jan 22, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Jan 22, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Jan 24, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Jan 24, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Jan 24, 2020
… removing linear layout. Also added context to setuphomemenu
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Jan 24, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Jan 24, 2020
…recycler view to match MotionLayout view from before
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Jan 29, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Jan 29, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Jan 29, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Jan 29, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Jan 31, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Feb 2, 2020
…cise in separating logic from high level functions + clean up
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Feb 2, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Feb 4, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Feb 4, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Feb 4, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Feb 5, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Feb 5, 2020
MarcLeclair added a commit to MarcLeclair/fenix that referenced this issue Feb 5, 2020
boek pushed a commit that referenced this issue Feb 6, 2020
boek pushed a commit that referenced this issue Feb 6, 2020
@mcomella
Copy link
Contributor

mcomella commented Feb 6, 2020

@MarcLeclair The associated PR was merged: please don't forget to update the bug status!

@MarcLeclair MarcLeclair moved this from In progress to Done in Performance, front-end roadmap Feb 7, 2020
@MarcLeclair
Copy link
Contributor

closed with #8085

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P1 Current sprint performance Possible performance wins
Development

No branches or pull requests

3 participants