Closed Bug 1225476 Opened 9 years ago Closed 2 years ago

Twitter brings e10s to its knees

Categories

(Firefox :: General, defect, P4)

44 Branch
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
e10s + ---
platform-rel --- -

People

(Reporter: tech4pwd, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: addon-related? [platform-rel-Twitter])

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
Build ID: 20151018052213

Steps to reproduce:

It's not a pleasant experience at all. It's incredibly slow, you get a lot of the snackbars talking about "A webpage is causing nightly to...". I'm not sure what I can really add to make this more valuable other than to inform that it happens. But it is a terrible user experience, especially when admittedly unfairly compared with the app on phone/tablet.
Blocks: e10s-perf
tracking-e10s: --- → +
Can you provide your about:support info?
Flags: needinfo?(pwd.mozilla)
(In reply to George Wright (:gw280) (:gwright) from comment #1)
> Can you provide your about:support info?

Application Basics
------------------

Name: Firefox
Version: 44.0a1
Build ID: 20151018052213
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
Multiprocess Windows: 1/1 (default: true)
Safe Mode: false

Extensions
----------

Name: Adblock Plus
Version: 2.6.11.4010-beta
Enabled: true
ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}

Name: Brief
Version: 2.0.1-signed
Enabled: true
ID: brief@mozdev.org

Name: BugzillaJS
Version: 3.4.1-signed
Enabled: true
ID: jid0-NgMDcEu2B88AbzZ6ulHodW9sJzA@jetpack

Name: Clean Links
Version: 2.7.1-signed
Enabled: true
ID: {158d7cb3-7039-4a75-8e0b-3bd0a464edd2}

Name: DictionarySearch
Version: 28.0.0.1-signed
Enabled: true
ID: {a0faa0a4-f1a7-4098-9a74-21efc3a92372}

Name: Duplicate Tabs Closer
Version: 1.2.0.0.1-signed
Enabled: true
ID: jid0-RvYT2rGWfM8q5yWxIxAHYAeo5Qg@jetpack

Name: ImageSearch
Version: 0.3.1.1-signed
Enabled: true
ID: jid1-NOlwYOe3E3vApg@jetpack

Name: NoScript
Version: 2.6.9.39rc1
Enabled: true
ID: {73a6fe31-595d-460b-a920-fcc0f8843232}

Name: Official My JDownloader AddOn
Version: 2.0.9
Enabled: true
ID: jid1-OY8Xu5BsKZQa6A@jetpack

Name: PDF Viewer
Version: 1.0.277.1-signed
Enabled: true
ID: uriloader@pdf.js

Name: Saved Password Editor
Version: 2.9.4
Enabled: true
ID: savedpasswordeditor@daniel.dawson

Name: Send Tab to Device
Version: 0.7.1-signed
Enabled: true
ID: jid1-mdjmA7if6lo8lA@jetpack

Name: Stylish
Version: 2.0.2.1-signed
Enabled: true
ID: {46551EC9-40F0-4e47-8E18-8E5CF550CFB8}

Name: Stylish Sync
Version: 0.1.7.1-signed
Enabled: true
ID: {0e3fc079-afbb-4a00-87e5-9486062d0f9c}

Name: British English Dictionary
Version: 1.19.1
Enabled: false
ID: en-GB@dictionaries.addons.mozilla.org

Name: Customize about:newtab
Version: 1.2.0
Enabled: false
ID: customizenewtab@alejandrobrizuela.com.ar

Name: Firefox Interest Dashboard
Version: 0.9.1.1-signed
Enabled: false
ID: firefox.interest.dashboard@up.mozilla

Name: FlashGot
Version: 1.5.6.12.1-signed
Enabled: false
ID: {19503e42-ca3c-4c27-b1e2-9cdb2170ee34}

Name: Places Maintenance
Version: 1.3.1-signed
Enabled: false
ID: places-maintenance@bonardo.net

Name: Shumway
Version: 0.11.617
Enabled: false
ID: shumway@research.mozilla.org

Name: Tumblr Post
Version: 1.36.1-signed
Enabled: false
ID: {99210d54-6321-41e8-bd1b-2b4c55874efb}

Name: Ubuntu Modifications
Version: 3.2
Enabled: false
ID: ubufox@ubuntu.com

Graphics
--------

Adapter Description: NVIDIA Corporation -- GeForce GTX 860M/PCIe/SSE2
Asynchronous Pan/Zoom: wheel input enabled
Device ID: GeForce GTX 860M/PCIe/SSE2
Driver Version: 4.5.0 NVIDIA 352.41
GPU Accelerated Windows: 0/1 Basic (OMTC)
Supports Hardware H264 Decoding: No;
Vendor ID: NVIDIA Corporation
WebGL Renderer: NVIDIA Corporation -- GeForce GTX 860M/PCIe/SSE2
windowLayerManagerRemote: true
AzureCanvasBackend: cairo
AzureContentBackend: cairo
AzureFallbackCanvasBackend: none
AzureSkiaAccelerated: 0
CairoUseXRender: 1

Important Modified Preferences
------------------------------

accessibility.typeaheadfind: true
accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.hashstats_reported: 1
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.frecency_experiment: 2
browser.download.importedFromSqlite: true
browser.places.smartBookmarksVersion: 7
browser.sessionstore.upgradeBackup.latestBuildID: 20151018052213
browser.startup.homepage: about:home
browser.startup.homepage_override.buildID: 20151018052213
browser.startup.homepage_override.mstone: 44.0a1
browser.tabs.remote.autostart: true
browser.tabs.remote.autostart.2: false
browser.urlbar.userMadeSearchSuggestionsChoice: true
dom.apps.reset-permissions: true
dom.mozApps.used: true
extensions.lastAppVersion: 44.0a1
font.internaluseonly.changed: false
media.gmp-gmpopenh264.abi: x86_64-gcc3
media.gmp-gmpopenh264.lastUpdate: 1447457410
media.gmp-gmpopenh264.version: 1.5.1
media.gmp-manager.buildID: 20151018052213
media.gmp-manager.lastCheck: 1447767546
network.cookie.prefsMigrated: true
network.predictor.cleaned-up: true
places.database.lastMaintenance: 1447607452
places.history.expiration.transient_current_max_pages: 104858
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
plugin.state.librhythmbox-itms-detection-plugin: 0
privacy.donottrackheader.enabled: true
privacy.sanitize.migrateClearSavedPwdsOnExit: true
privacy.sanitize.migrateFx3Prefs: true
privacy.trackingprotection.enabled: true
privacy.trackingprotection.ui.enabled: true
storage.vacuum.last.index: 2
storage.vacuum.last.places.sqlite: 1446034585

Important Locked Preferences
----------------------------

JavaScript
----------

Incremental GC: true

Accessibility
-------------

Activated: false
Prevent Accessibility: 0

Library Versions
----------------

NSPR
Expected minimum version: 4.10.10
Version in use: 4.10.10

NSS
Expected minimum version: 3.20.1 Basic ECC
Version in use: 3.20.1 Basic ECC

NSSSMIME
Expected minimum version: 3.20.1 Basic ECC
Version in use: 3.20.1 Basic ECC

NSSSSL
Expected minimum version: 3.20.1 Basic ECC
Version in use: 3.20.1 Basic ECC

NSSUTIL
Expected minimum version: 3.20.1
Version in use: 3.20.1

Experimental Features
---------------------

Sandbox
-------

Seccomp-BPF (System Call Filtering): true
Seccomp Thread Synchronization: true
User Namespaces: true
Media Plugin Sandboxing: true
Flags: needinfo?(pwd.mozilla)
Couple more questions:

- Do you still see the slowdown if you disable all extensions?
- How about if you set layers.acceleration.force-enabled to true?
Flags: needinfo?(pwd.mozilla)
(In reply to George Wright (:gw280) (:gwright) from comment #3)
> Couple more questions:
> 
> - Do you still see the slowdown if you disable all extensions?
I have no idea.

> - How about if you set layers.acceleration.force-enabled to true?
I'm not getting the snackbar. So something has helped there. That said, it's still unresponsive a lot and seems really slow to fetch data.
Flags: needinfo?(pwd.mozilla)
(In reply to Paul [pwd] from comment #4)
> (In reply to George Wright (:gw280) (:gwright) from comment #3)
> > Couple more questions:
> > 
> > - Do you still see the slowdown if you disable all extensions?
> I have no idea.

Is it possible you can test please? I'd like to narrow down the possible causes and knowing whether it's extension related or not would be a great help.
Paul, does this also happen in non-e10s mode?  If so, please try in e10s mode with all of your add-ons disabled. (Help > Restart with Add-ons Disabled...).  There are some add-ons in your list that are known to still be incompatible with e10s.  If you can help narrow it down to which one, that would be of great help in addressing this bug report.  Thanks.
Here's the thing, while Twitter is by far the worst performing site I visit on a regular basis. I suspect only G+ was anywhere near there and I just completely gave up on using that via Firefox. Earlier I reported that the snackbar warnings had disappeared but got two within half an hour of that post to this bug.

Now here's the conundrum. I suspect that if there is an issue where extensions are involved, it's likely to be one of NoScript or ABP, the two I'm absolutely unwilling to disable. If there was an issue that didn't require me to log into anything, I'd simply download a zip copy of Firefox for privacy reasons. What I can say is that Twitter has never been one that performs well and I suspect it's more to do with the way the data is fetched or parsed.

If this makes this bug WFM, I totally understand. To be honest, I thought this would've been a dupe anyway, I was just trying to be diligent.
We're not asking you to disable your add-ons permanently.  If for testing purposes, you feel more comfortable doing that in a separate instance of Firefox, please do so.  We agree that this is probably a dupe and suspect NoScript may be the culprit.  That said, start there with your investigation.  Thanks for your help.
There's also about:performance which should be able to give some insight if there's a misbehaving addon. I'm not sure it'll help if the issue is that NoScript is causing Twitter's JS to misbehave, but it's a start.

Another idea: are you able to create a fake twitter account to test without addons enabled?
(In reply to George Wright (:gw280) (:gwright) from comment #9)
> There's also about:performance which should be able to give some insight if
> there's a misbehaving addon. I'm not sure it'll help if the issue is that
> NoScript is causing Twitter's JS to misbehave, but it's a start.
> 
> Another idea: are you able to create a fake twitter account to test without
> addons enabled?

The problem is that a new twitter profile wouldn't have the activity required to generate any weight. But I can definitely try that for you. It'll be a few hours though as I've gotta run out.
Flags: needinfo?(pwd.mozilla)
Tracy says we might have a QA twitter account that we can potentially give you access to.
Turns out it isn't a test account, but an QA communication channel, that we can't share.  Paul, a "fake" account may be enough to trigger what you're seeing.  Thanks for giving it a go, when you have time.
Hi, 

I have tested this on Ubuntu 14.04 with Nightly(2015-11-19) with new profile and no add-ons, and I can't reproduce this issue. Do you have add-ons installed on your profile, if yes please tell me which one. Also I made a "fake" Twitter account.

Please, create a new profile, you have the steps here:https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles?redirectlocale=en-US&redirectslug=Managing-profiles#w_starting-the-profile-manager
You can restart the browser that will disable the add-ons.
Component: Untriaged → General
(In reply to ovidiu boca from comment #13)
> I have tested this on Ubuntu 14.04 with Nightly(2015-11-19) with new profile
> and no add-ons, and I can't reproduce this issue. Do you have add-ons
> installed on your profile, if yes please tell me which one. 

Paul's list of addons is in comment 2
I decided that the most effective way would be just to download a zip build and use my proper twitter from there. I must once again say that in order to see the issue, you need a twitter with actual activity. The place you're likely to see the issue is in Direct Messages, navigating through the various different threads and replying. I apologise for not making that clearer earlier in this bug. On the fresh profile, I'm yet to have a flurry of activity on twitter to truly check what my notifications and DMs do to Firefox. However I've already seen some unresponsiveness.
Flags: needinfo?(pwd.mozilla)
Hi Paul, 
Have you try with Nightly version? Please download the Firefox Nightly from here: https://nightly.mozilla.org/ and retest the problem.
Flags: needinfo?(pwd.mozilla)
(In reply to ovidiu boca from comment #16)
> Hi Paul, 
> Have you try with Nightly version? Please download the Firefox Nightly from
> here: https://nightly.mozilla.org/ and retest the problem.

Yep, please see comment 15.
Flags: needinfo?(pwd.mozilla)
OK, I'll keep an eye out on the direct messages page. I use Linux as my primary OS, but I've never seen this slowdown (and I use twitter regularly), unfortunately.
Priority: -- → P4
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: addon-related?
Whiteboard: addon-related? → addon-related? [platform-rel-Twitter]
platform-rel: --- → ?
platform-rel: ? → -

Is this still a problem with recent builds ?

Flags: needinfo?(pwd.mozilla)

This seems to be a lot better in recent builds.

Flags: needinfo?(pwd.mozilla)

Given the previous comment it isn't probably useful to keep this old bug open.
And there has been lots of performance improvements since 2019 too.

If you see still issues, please file new bugs.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.