Opening reddit posts spends a lot of time on the parent process
Categories
(Toolkit :: Safe Browsing, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: mayankleoboy1, Assigned: baku)
References
(Depends on 1 open bug, )
Details
Attachments
(2 files)
Create a new profile OR use your existing profile.
Go to https://www.reddit.com/r/AgeofMythology/new/
Open some posts in the background tab (either by middle clicking on the post, or by Right click->Open link in new tab)
Maybe scroll a little
AR: Jank
New profile: https://share.firefox.dev/3zG1dak
Daily profile: https://share.firefox.dev/3WjEwkV
Also repros on a build from Jan2023, so not a new regression. This perf issue could be due to server changes at Reddit.
Reporter | ||
Comment 1•7 months ago
|
||
Reporter | ||
Updated•7 months ago
|
Comment 2•7 months ago
•
|
||
There are a ton of runnables, and the Windows event loop probably has more overhead per runnable than necessary.
The most actionable step would be to cut down on the number of runnables. In the first profile, I see 8600 ProxyRelease runnables from FeatureHolder
. This is coming from nsUrlClassifierDBService. This seems excessive.
Who knows about the URL classifier? Do we expect it to be active to this degree for reddit.com?
Comment 3•7 months ago
|
||
The Performance Impact Calculator has determined this bug's performance impact to be low. If you'd like to request re-triage, you can reset the Performance Impact flag to "?" or needinfo the triage sheriff.
Platforms: [x] Windows [x] macOS [x] Linux [x] Android
Resource impact: Some
[x] Able to reproduce locally
Reporter | ||
Comment 4•7 months ago
|
||
I would have thought that this would be atleast a Medium and possibly a High perf impact bug.
Comment 5•7 months ago
|
||
baku, you might remember a thing or two about UrlClassifier? See comment 2 here, could we avoid some runnables - or, we certainly at least could have just one main thread runnable, not two. But could we make everything threadsafe and avoid all the proxy releases?
Comment 6•7 months ago
|
||
Hi Tim, is this something your team can help take a look? Thanks!
Assignee | ||
Updated•6 months ago
|
Assignee | ||
Updated•6 months ago
|
Assignee | ||
Comment 7•6 months ago
|
||
Comment 9•6 months ago
|
||
bugherder |
Reporter | ||
Comment 10•6 months ago
|
||
This is what I get from the latest Nightly : https://share.firefox.dev/4daEEJG
Should this bug be reopened?
Comment 11•6 months ago
|
||
It would have been better if that patch had landed in a new bug. Oh well.
Mayank, can you open a new bug for the remaining slowness? Thank you.
Comment 12•6 months ago
|
||
Oh, but your profile also shows that the patch wasn't super successful at reducing FeatureHolder-related runnables.
Before: 1000 ProxyRelease runnables for FeatureHolder: https://share.firefox.dev/4dvb95g
After: 656 FeatureHolderRelease runnables: https://share.firefox.dev/3LSPoQM
Reporter | ||
Comment 13•6 months ago
•
|
||
The profile in comment #10 had ublock enabled.
Here is another profile with ublock disabled : https://share.firefox.dev/3Yv8LqF , https://share.firefox.dev/3WLyJoG
Reporter | ||
Comment 14•6 months ago
|
||
(In reply to Markus Stange [:mstange] from comment #11)
It would have been better if that patch had landed in a new bug. Oh well.
Mayank, can you open a new bug for the remaining slowness? Thank you.
Filed bug 1911450
Updated•6 months ago
|
Description
•