Closed Bug 1237884 Opened 8 years ago Closed 8 years ago

[e10s] Extreme lag when using some web page when e10s and LastPass are enabled

Categories

(Firefox :: General, defect)

45 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
e10s + ---

People

(Reporter: jya, Unassigned)

References

Details

Attachments

(2 files)

This is using Firefox Developer Editing 45.

Without e10s:
Go to: http://www.singaporeair.com/booking-flow.form?execution=e2s1

Click on From field. type MEL, it will immediately show Melbourne. Select it.
Click on To field. Type LHR, it will show London Heathrow. Select it.

Select the calendar and a date in the future happens very quickly for me. There's no lag of any kind. Page is extremely responsive.

Now enable e10s which restart firefox.

Again go to http://www.singaporeair.com/booking-flow.form?execution=e2s1
And redo the operation above.
On my 8 cores Mac Pro simply click the From field and have the field selected takes around 5s.
Typing MEL will do nothing for up to 10s until suddenly it shows some results.

Navigating the calendar is also painful.

Also, simply loading http://www.singaporeair.com/booking-flow.form?execution=e2s1 shows the spinner several times. Without e10s the page will load within 2s.
With e10s it's over 10s.
I can't reproduce this on my MacBookPro (10.9.5)  I see the slight lag in the page taking a ~2 seconds to load. But the airport selection and date selection are snappy.

jya:  are you on 10.10 and/or running some potentially interfering add-ons?
Flags: needinfo?(jyavenard)
Attached file about:support
here is the about:support content.

I use 10.11.2, this was tested (and reproduced) on a Mac Pro 2013, 8 cores @ 3GHz with 32GB of RAM, and on a Macbook pro 13" 2015, 2 cores @ 3.1GHz with 16GB of RAM
Flags: needinfo?(jyavenard)
Ah, yes, some of the add-ons you're using are known to cause issues.  Please try in safe-mode.  If things look better, then we'll want to narrow down which add-on may be in play here.  Thanks for you help.
Flags: needinfo?(jyavenard)
I wish I could do what you ask.

However, with e10s enabled, when I start Firefox 45 (aurora) in safe mode, all pages are just blanked (white). Nothing is ever displayed.

If I disable e10s and start in safe mode, then things work as expected (windows are properly displayed).

As such, I can't confirm that running in safe mode help, seeing that I'm unable to do anything then.
Flags: needinfo?(jyavenard)
Here is a screenshot when starting firefox in safe-mode with e10s enabled.

All windows / tabs are blanked but the about:preferences page
(In reply to Jean-Yves Avenard [:jya] from comment #5)
> Created attachment 8711899 [details]
> Screen Shot 2016-01-26 at 9.50.24 AM.png
> 
> Here is a screenshot when starting firefox in safe-mode with e10s enabled.
> 
> All windows / tabs are blanked but the about:preferences page

jya, please file a new bug on the safe mode blank tabs issue. Also, as far as this report goes, since you're suffering that safe-mode bug, instead, please disable your add-ons one by one, to determine which one is causing the slow performance at the air booking site.
Flags: needinfo?(jyavenard)
See Also: → 1243201
Flags: needinfo?(ajones)
Disabling only lastpass extension and everything is fast again.

Simply logging out of lastpass isn't sufficient to make firefox snappy, it must be totally disabled.
Flags: needinfo?(jyavenard)
Possibly related to bug 1096103
Summary: [e10s] Extreme lag when using some web page when e10s is enabled → [e10s] Extreme lag when using some web page when e10s and LastPass are enabled
While bug 1008768 is ostensibly about the fact form fields are not filled, if you look through the comments in that bug you will see most complaints over the last 6 months or so are about slowdowns with lastpass and e10s
Is this with LastPass 3.x, or LastPass 4.x?
Either. I updated my desktop with 4.0, while my laptop is still on 3.something
I'm able to reproduce with LastPass 3.x.  However, that's somewhat expected, since it's not e10s-compatible, and makes heavy use of CPOW shims.

I'm not able to reproduce with LastPass 4.x.  If you definitely can, I wonder if we're accidentally using CPOW shims in some case somehow.  Is there a way to turn off CPOW shims in Firefox, at least temporarily, to see if that's the case?
(In reply to Andrew Zitnay from comment #12)
> I'm able to reproduce with LastPass 3.x.  However, that's somewhat expected,
> since it's not e10s-compatible, and makes heavy use of CPOW shims.
> 
> I'm not able to reproduce with LastPass 4.x.  If you definitely can, I
> wonder if we're accidentally using CPOW shims in some case somehow.  Is
> there a way to turn off CPOW shims in Firefox, at least temporarily, to see
> if that's the case?

Yes - the shims can be disabled for all add-ons by setting extensions.interposition.enabled to false.
Lastpass is implicated.
Flags: needinfo?(ajones)
(In reply to Andrew Zitnay from comment #12)
> I'm able to reproduce with LastPass 3.x.  However, that's somewhat expected,
> since it's not e10s-compatible, and makes heavy use of CPOW shims.
> 
> I'm not able to reproduce with LastPass 4.x.  If you definitely can, I
> wonder if we're accidentally using CPOW shims in some case somehow.  Is
> there a way to turn off CPOW shims in Firefox, at least temporarily, to see
> if that's the case?

Ok.

So while I thought I had installed LastPass 4, the version for Firefox is still 3.2.42...

Where do you get version 4 for firefox ?
As it turned out, the one found on the mozilla:addons page is 3.2.42
and the one you can get from their installer is also 3.2

Trying to download https://lastpass.com/download/cdn/lp4.xpi doesn't download anything; had to fire chrome to download it and manually install the addon.

Now, having installed lastpass 4.0 ; the singapore airline booking site is no longer slow \o/
No longer blocks: 1235495
fixed in 4.0
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: