Closed Bug 811474 Opened 12 years ago Closed 2 years ago

Watching Facebook photos makes Firefox unusable due to painting

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: marco, Unassigned)

Details

(Whiteboard: [Snappy][platform-rel-Facebook])

Attachments

(2 files)

Attached file about:memory report
Browsing on Facebook photo pages makes Firefox really slow. Memory usage rises and the browser becomes unresponsive.
Looks like this happens when you've scrolled a bit (and so there are a lot of photos on the page).
Switching back to the Facebook photos tab takes nearly 4 seconds (FX_TAB_SWITCH_TOTAL_MS average = 3473.6).
Attached file Profiler report
Whiteboard: [MemShrink][Snappy]
(In reply to Marco Castelluccio [:marco] from comment #1)
> Switching back to the Facebook photos tab takes nearly 4 seconds
> (FX_TAB_SWITCH_TOTAL_MS average = 3473.6).

what version of Firefox? Can you post the profiler link?
(In reply to Marco Castelluccio [:marco] from comment #0)
> Created attachment 681202 [details]
> about:memory report
> 
> Browsing on Facebook photo pages makes Firefox really slow. Memory usage
> rises and the browser becomes unresponsive.
> Looks like this happens when you've scrolled a bit (and so there are a lot
> of photos on the page).

what are facebook photo pages, can you provide a sample url?
(In reply to Taras Glek (:taras) from comment #3)
> what version of Firefox? Can you post the profiler link?

I've uploaded the profiler report.

(In reply to Taras Glek (:taras) from comment #4)
> what are facebook photo pages, can you provide a sample url?

https://www.facebook.com/username/photos
(In reply to Marco Castelluccio [:marco] from comment #5)
> (In reply to Taras Glek (:taras) from comment #3)
> > what version of Firefox? Can you post the profiler link?
> 
> I've uploaded the profiler report.
> 
> (In reply to Taras Glek (:taras) from comment #4)
> > what are facebook photo pages, can you provide a sample url?
> 
> https://www.facebook.com/username/photos

there is an upload button in the profiler. use that instead and provide the link it gives you
(In reply to Taras Glek (:taras) from comment #6)
> there is an upload button in the profiler. use that instead and provide the
> link it gives you

I couldn't, there was an error (maybe the report is too big?).
This sounds more Snappy-ish than MemShrink.  about:memory doesn't look all that unusual, and the profile indicates that painting is causing the jank.
Whiteboard: [MemShrink][Snappy] → [Snappy]
Component: Untriaged → Graphics
Product: Firefox → Core
Summary: Watching Facebook photos makes Firefox unusable → Watching Facebook photos makes Firefox unusable due to painting
That profile shows a lot of D2D PushGroup being slow.
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #10)
> That profile shows a lot of D2D PushGroup being slow.

We worked on this during the workweek, should be fixed. Marco, are ff20 nightlies still slow for you?
Did you fix the general slowness while scrolling and watching photos or just the tab switching stuff?
The latter is fixed.

There's a new profile, looks like it's something related to Facebook js code:
https://people.mozilla.com/~bgirard/cleopatra/#report=b956d1e6fd52e7891c71d24e378b00129c7e815d&jankOnly=true&javascriptOnly=true

If I keep scrolling and watching photos (clicking on them to see the carousel), the browser hangs for a few seconds.
Whiteboard: [Snappy] → [Snappy][platform-rel-Facebook]
platform-rel: --- → ?
platform-rel: ? → ---

I can no longer reproduce this.

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.

Attachment

General

Created:
Updated:
Size: