Closed
Bug 1399965
Opened 7 years ago
Closed 7 years ago
activity stream periodically pegs a content process
Categories
(Firefox :: New Tab Page, defect)
Firefox
New Tab Page
Tracking
()
RESOLVED
FIXED
Firefox 57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: aswan, Assigned: k88hudson)
References
Details
Attachments
(1 file)
2.21 MB,
application/x-gzip
|
Details |
I've attached a profile, the relevant part is content process #3 beginning about 7s into the profile.
Reporter | ||
Comment 1•7 years ago
|
||
Also, the Activity Stream version is: 2017.09.12.1376-781e5de5
Comment 2•7 years ago
|
||
k88hudson, any suggestions on how to debug?
A brief look at the inverted js call stack shows 44% running time (4.5sec) in _updateDOMProperties of resource://activity-stream/vendor/react-dom.js
aswan says it's version 2017.09.12.1376-781e5de5 which corresponds to
https://searchfox.org/mozilla-central/rev/6326724982c66aaeaf70bb7c7ee170f7a38ca226/browser/extensions/activity-stream/data/content/activity-stream.bundle.js
The call stack:
initStore https://searchfox.org/mozilla-central/rev/6326724982c66aaeaf70bb7c7ee170f7a38ca226/browser/extensions/activity-stream/data/content/activity-stream.bundle.js#3024
rehydrationMiddleware https://searchfox.org/mozilla-central/rev/6326724982c66aaeaf70bb7c7ee170f7a38ca226/browser/extensions/activity-stream/data/content/activity-stream.bundle.js#2977
messageMiddleware https://searchfox.org/mozilla-central/rev/6326724982c66aaeaf70bb7c7ee170f7a38ca226/browser/extensions/activity-stream/data/content/activity-stream.bundle.js#2970
redux
Flags: needinfo?(khudson)
Assignee | ||
Comment 3•7 years ago
|
||
Hm, I wonder if the extra data URIs for highlights is what's causing this. We could take a look at profiling that specifically, maybe turn on the dev version of react locally if that doesn't turn anything up
Flags: needinfo?(khudson)
Assignee | ||
Comment 4•7 years ago
|
||
After some investigation it looks like the Sections component's render function is being called 9 times on every load (since it is receiving 9 SECTION_UPDATE_CARD events), that's something we might want to look more into
Updated•7 years ago
|
Comment 5•7 years ago
|
||
Hopefully fixed by https://github.com/mozilla/activity-stream/pull/3480 to be uplifted via bug 1399970.
Assignee: nobody → khudson
Blocks: 1399970
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
status-firefox57:
--- → fixed
Target Milestone: --- → Firefox 57
Comment 6•7 years ago
|
||
The current Nightly 57.0a1 (2017-09-15) (Built from https://hg.mozilla.org/mozilla-central/rev/893fe1549e1e7342a66514b65960f08d40810a34) should have a fix. Can you see if that improves things / avoids the jank?
Flags: needinfo?(aswan)
Reporter | ||
Comment 7•7 years ago
|
||
(In reply to Ed Lee :Mardak from comment #6)
> The current Nightly 57.0a1 (2017-09-15) (Built from
> https://hg.mozilla.org/mozilla-central/rev/
> 893fe1549e1e7342a66514b65960f08d40810a34) should have a fix. Can you see if
> that improves things / avoids the jank?
I just re-enabled activity stream, I'll let you know if I see the same thing again.
I'm curious though, the lag this created for me made the browser nearly unusable, but it doesn't seem like this was reported by anybody else? Could there be something specific about my profile that made this especially noticeable for me?
Flags: needinfo?(aswan)
Updated•6 years ago
|
Component: Activity Streams: Newtab → New Tab Page
You need to log in
before you can comment on or make changes to this bug.
Description
•