Closed Bug 1243156 Opened 8 years ago Closed 8 years ago

Logins list scrolling is horribly janky with 600+ logins

Categories

(Firefox for iOS :: General, defect)

All
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
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.
tracking-fxios: --- → ?
Hardware: Other → All
Flags: needinfo?(sleroux)
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)
Can we just precompute the domain, either in SQL or in the cursor factory?
Assignee: nobody → sleroux
Status: NEW → ASSIGNED
Rank: 1
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+
master b499bb258672f3b5350d841d9b95ba029498496d
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: