Closed Bug 1163121 Opened 5 years ago Closed 5 years ago
Mode Bar View lazy
47 bytes, text/x-github-pull-request
|Details | Review|
Suggestion to shave off ~ 100ms BrowserViewController.viewDidLoad() takes about 200 ms. Half of that is the creation of the ReaderModeBarView. We should to create that view lazily when it is needed. Not always at app startup.
Instead of setting up the readerModeBar in viewDidLoad for every page, the readerModeBar now only gets initialized when it needs to be shown.
Attachment #8614062 - Flags: review?(bnicholson)
Comment on attachment 8614062 [details] [review] PR https://github.com/mozilla/firefox-ios/pull/541 Looks good!
Attachment #8614062 - Flags: review?(bnicholson) → review+
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.