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

Improve inflate performance in HomeFragment.onCreateView() #7423

Closed
emalysz opened this issue Dec 30, 2019 · 2 comments
Closed

Improve inflate performance in HomeFragment.onCreateView() #7423

emalysz opened this issue Dec 30, 2019 · 2 comments
Assignees
Labels
P2 Upcoming release performance Possible performance wins
Milestone

Comments

@emalysz
Copy link
Contributor

emalysz commented Dec 30, 2019

Why/User Benefit/User Problem

It is slow to create the HomeFragment (#4665).
A significant amount of time (952.658 ms) is spent in HomeFragment's onCreateView(). Of this, 56.38% is spent in inflate.

What/Requirements

Acceptance Criteria (how do I know when I’m done?)

-The time it takes to inflate the home fragment has been reduced.


┆Issue is synchronized with this Jira Task

@emalysz emalysz added the performance Possible performance wins label Dec 30, 2019
@emalysz emalysz added this to Needs prioritization in Performance, front-end roadmap via automation Dec 30, 2019
@emalysz
Copy link
Contributor Author

emalysz commented Dec 31, 2019

One potential solution could be using an AsyncLayoutInflater. See Marc's implementation of an AsyncLayoutInflater here for reference: https://github.com/MarcLeclair/fenix/commits/issue_6274_asynclayoutinflater_for_toolbar

@boek boek added the P2 Upcoming release label Dec 31, 2019
@emalysz emalysz assigned emalysz and unassigned emalysz Jan 2, 2020
@mcomella mcomella moved this from Needs prioritization to Backlog (prioritized) in Performance, front-end roadmap Jan 6, 2020
mcomella added a commit to mcomella/fenix that referenced this issue Jan 14, 2020
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
mcomella added a commit to mcomella/fenix that referenced this issue Jan 14, 2020
…ment_home.

Co-authored-by: Emma Malysz <emalysz@mozilla.com>
mcomella added a commit to mcomella/fenix that referenced this issue Jan 18, 2020
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
mcomella added a commit to mcomella/fenix that referenced this issue Jan 18, 2020
…ment_home.

Co-authored-by: Emma Malysz <emalysz@mozilla.com>
mcomella added a commit that referenced this issue Jan 18, 2020
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
mcomella added a commit that referenced this issue Jan 18, 2020
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
emalysz pushed a commit to emalysz/fenix that referenced this issue Jan 21, 2020
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
emalysz pushed a commit to emalysz/fenix that referenced this issue Jan 21, 2020
…ment_home.

Co-authored-by: Emma Malysz <emalysz@mozilla.com>
emalysz added a commit to emalysz/fenix that referenced this issue Jan 21, 2020
emalysz pushed a commit to emalysz/fenix that referenced this issue Jan 22, 2020
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
emalysz pushed a commit to emalysz/fenix that referenced this issue Jan 22, 2020
…ment_home.

Co-authored-by: Emma Malysz <emalysz@mozilla.com>
emalysz pushed a commit that referenced this issue Jan 22, 2020
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
emalysz pushed a commit that referenced this issue Jan 22, 2020
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
@liuche liuche mentioned this issue Jan 22, 2020
32 tasks
@liuche liuche added this to the v3.2 milestone Jan 22, 2020
emalysz pushed a commit that referenced this issue Jan 22, 2020
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
emalysz pushed a commit that referenced this issue Jan 22, 2020
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
@emalysz emalysz self-assigned this Jan 23, 2020
@mcomella mcomella removed this from Backlog (prioritized) in Performance, front-end roadmap Mar 2, 2020
@mcomella
Copy link
Contributor

mcomella commented Mar 2, 2020

We've done some work in a related view/inflation performance issue and this is too general to remain actionable: closing.

@mcomella mcomella closed this as completed Mar 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P2 Upcoming release performance Possible performance wins
Projects
None yet
Development

No branches or pull requests

4 participants