Closed
Bug 1243156
Opened 10 years ago
Closed 10 years ago
Logins list scrolling is horribly janky with 600+ logins
Categories
(Firefox for iOS :: General, defect)
Tracking
()
RESOLVED
FIXED
3.0
Tracking | Status | |
---|---|---|
fxios | + | --- |
People
(Reporter: MattN, Assigned: sleroux)
References
Details
Attachments
(2 files)
STR:
1) Open Settings > Logins when you have hundreds of logins e.g. 600
Expected result:
Once logins appear, scrolling should be smooth
Actual result:
Scrolling is horribly janky and slow. I get about 2-3 frames per second scrolling.
Updated•10 years ago
|
tracking-fxios:
--- → ?
Hardware: Other → All
Updated•10 years ago
|
Flags: needinfo?(sleroux)
Updated•10 years ago
|
Assignee | ||
Comment 1•10 years ago
|
||
Looks like inside the loginAtIndexPath the act of calling sectionIndexTitles is very expensive because it needs to calculate the publicSuffix of each URL which looks to be not cheap. See attached profile snapshot of behaviour while scrolling.
Flags: needinfo?(sleroux)
Assignee | ||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Can we just precompute the domain, either in SQL or in the cursor factory?
Updated•10 years ago
|
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8718442 -
Flags: review?(bnicholson)
Comment 5•10 years ago
|
||
Comment on attachment 8718442 [details] [review]
Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/1525
Looks great!
Attachment #8718442 -
Flags: review?(bnicholson) → review+
Assignee | ||
Comment 6•10 years ago
|
||
master b499bb258672f3b5350d841d9b95ba029498496d
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.0
You need to log in
before you can comment on or make changes to this bug.
Description
•