Avoid loading JSMs eagerly in Discovery Stream
Categories
(Firefox :: New Tab Page, enhancement, P1)
Tracking
()
People
(Reporter: thecount, Assigned: thecount)
References
Details
(Keywords: github-merged)
Attachments
(2 external files)
Similar to this bug https://bugzilla.mozilla.org/show_bug.cgi?id=1568197
I think we have a few places in Discovery Stream Feed where we might be able to get a boost in load time.
I'll do some more perf tests on that.
Comment 1•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 2•7 years ago
|
||
Testing the above patch, I got https://docs.google.com/document/d/1Zg0c6eln0r7MIzVdVf293-3onhhlUFhRJ0UMp7Erc4E/edit
Updated•7 years ago
|
| Assignee | ||
Comment 3•7 years ago
|
||
[Tracking Requested - why for this release]: The code is really small and it has some performance wins, I think it's worth uplifting.
Updated•7 years ago
|
Comment 4•7 years ago
|
||
Doesn't sound like this is significant enough to warrant tracking for 69, but I'm still happy to consider an uplift request when the time comes if the patch isn't risky.
| Assignee | ||
Comment 5•7 years ago
|
||
| Assignee | ||
Comment 6•7 years ago
|
||
Comment on attachment 9084912 [details]
uplift 1572841 - Avoid loading JSMs eagerly in Discovery Stream
Beta/Release Uplift Approval Request
- User impact if declined: Performance on newtab first run
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Just regression checking, this should end up doing the same thing as before.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Changing how we import a few jsms so they don't load until we need them.
- String changes made/needed: none
| Assignee | ||
Updated•7 years ago
|
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Comment on attachment 9084912 [details]
uplift 1572841 - Avoid loading JSMs eagerly in Discovery Stream
New Tab Page perf improvement. Approved for 69.0b14.
Comment 9•7 years ago
|
||
| bugherder uplift | ||
Updated•7 years ago
|
Comment 10•7 years ago
|
||
No regressions have been found on about:newpage on Nightly v70.0a1 build ID: 20190813215212 on Windows 10 and Ubuntu 18.04.
Waiting for Beta 14 to verify.
Comment 11•7 years ago
|
||
Also verified in Beta14 v69.0b14 build ID 20190814030729 on Windows 10. No regression of any kind have been observed on the about:newpage page.
Description
•