Closed Bug 1595830 Opened 5 years ago Closed 4 years ago

slow tab switch plus big increase on memory footprint

Categories

(Firefox :: New Tab Page, defect, P3)

71 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1603483

People

(Reporter: u619128, Unassigned)

References

Details

(Whiteboard: [fxperf:p2])

I found this after investigating bug 1595797, i'm not sure if it caused this bug, so you may need to read it for some context.

firefox takes longer time than normal when i click on tabs loaded with any of these pages twitch.tv, anandtech.com, dictionary.cambridge.org and ldoceonline.com. I also see a big increase on memory for a short time.
This bug persists even after closing devtools and reloading the pages i mentioned.

https://perfht.ml/2NyFlTF
https://perfht.ml/2Q2JjWf

if i'm not mistaken, the lags in the captured profiles appear to happen within activity-stream related code.

Component: General → New Tab Page
Product: Core → Firefox
Whiteboard: [fxperf:p2]

Did you test with a fresh profile or an existing one?
If possible to share there is some debug info that might be useful to investigate this:

  1. Enable browser.newtabpage.activity-stream.asrouter.devtoolsEnabled
  2. Go to about:newtab#devtools-targeting
  3. Use the Copy parameters button to get the info on the page and share it as an attachment or similar
Flags: needinfo?(rayan.alkuhaili)

(In reply to Andrei Oprea [:andreio] from comment #2)

Did you test with a fresh profile or an existing one?

fresh profile

If possible to share there is some debug info that might be useful to investigate this:

  1. Enable browser.newtabpage.activity-stream.asrouter.devtoolsEnabled
  2. Go to about:newtab#devtools-targeting
  3. Use the Copy parameters button to get the info on the page and share it as an attachment or similar

it has some personal information that I'm unwilling to share, if you are looking to something specific in that page feel free to ask.

something important, even with the same pages that i mentioned i don't get this problem unless i keep devtools open for some amount of time, so it is very likely this bug is caused by bug 1595797.

Flags: needinfo?(rayan.alkuhaili)

@andrei think this is related to https://bugzilla.mozilla.org/show_bug.cgi?id=1594405 ?

Flags: needinfo?(andrei.br92)

I don't think so. Bug 1594405 profile shows a lot of time spent in mozjexl specifically.

Flags: needinfo?(andrei.br92)
Priority: -- → P3
See Also: → 1599811
See Also: → 1603198
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.