Closed
Bug 1313707
Opened 8 years ago
Closed 2 years ago
BBC website for Aberfan disaster much slower/jankier in Firefox than in Chrome due to slow image painting
Categories
(Core :: Graphics, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: Gijs, Unassigned)
References
()
Details
(Keywords: perf, Whiteboard: [gfx-noted][platform-rel-BBC][platform-rel-BBCNews])
STR:
1. open http://www.bbc.co.uk/news/resources/idt-150d11df-c541-44a9-9332-560a19828c47
2. scroll down to the second photo, which has text on top of it and zooms in/out as you scroll
ER:
smooth scrolling/zooming
AR:
much more jank than in Chrome, lots of CPU churn.
Comment 1•8 years ago
|
||
Reproducible
Version 52.0a1
Build ID 20161031030202
User Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Component: Untriaged → Panning and Zooming
Comment 2•8 years ago
|
||
That photo isn't actually zooming. There's a series of photos and as you scroll they flip opacities so that only one of them is visible at a time. On my Macbook Air (non-Retina) I get about the same behaviour in Firefox as I do in Chrome. No noticeable CPU churn.
Gijs, can you get a gecko profile?
Flags: needinfo?(gijskruitbosch+bugs)
Updated•8 years ago
|
Priority: -- → P3
Whiteboard: [gfx-noted]
Version: Trunk → 52 Branch
Reporter | ||
Comment 3•8 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #2)
> That photo isn't actually zooming. There's a series of photos and as you
> scroll they flip opacities so that only one of them is visible at a time.
Oh, but the visual effect is one of zooming, is that right? Ie the black-and-white photo with the outlines of people carrying something, with white-ish smoke and backlighting (the second one, after the one of the young boy) visually seems to zoom when I scroll down, and that effect is very stuttery.
> On
> my Macbook Air (non-Retina) I get about the same behaviour in Firefox as I
> do in Chrome. No noticeable CPU churn.
>
> Gijs, can you get a gecko profile?
https://cleopatra.io/#report=4b28da16bb5a53774b1ae623a51250ce74415fa4
This is on my regular beta profile, no e10s, but I don't use too many add-ons so that shouldn't make much of a difference. Looks like we spend a *looot* of time painting. Maybe it's because I'm also on a retina mac or something?
Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(bugmail)
Comment 4•8 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #3)
> Oh, but the visual effect is one of zooming, is that right? Ie the
> black-and-white photo with the outlines of people carrying something, with
> white-ish smoke and backlighting (the second one, after the one of the young
> boy) visually seems to zoom when I scroll down, and that effect is very
> stuttery.
The visual effect is mostly zooming, but it's actually a series of photos. You can see the smoke shift position relative to the people as you advance through the images which wouldn't happen if it was just zooming. It's not supposed to a seamlessly-smooth transition but I suppose it shouldn't be unnecessarily stuttery either.
> https://cleopatra.io/#report=4b28da16bb5a53774b1ae623a51250ce74415fa4
>
> This is on my regular beta profile, no e10s, but I don't use too many
> add-ons so that shouldn't make much of a difference. Looks like we spend a
> *looot* of time painting. Maybe it's because I'm also on a retina mac or
> something?
Thanks. Yes it does look like most of the time is spent painting. Also no e10s means no APZ, so this isn't an APZ issue. It's just regular painting jank. Quite likely amplified because of retina mac, yes.
Component: Panning and Zooming → Graphics
Flags: needinfo?(bugmail)
Summary: http://www.bbc.co.uk/news/resources/idt-150d11df-c541-44a9-9332-560a19828c47 (BBC website for Aberfan disaster) much slower/jankier in Firefox than in Chrome → BBC website for Aberfan disaster much slower/jankier in Firefox than in Chrome due to slow image painting
Updated•8 years ago
|
platform-rel: --- → ?
Whiteboard: [gfx-noted] → [gfx-noted][platform-rel-BBC][platform-rel-BBCNews]
Updated•8 years ago
|
platform-rel: ? → +
Comment 5•8 years ago
|
||
Seems worse on Nightly 53 than Firefox 50 on Retina Mac.
Updated•2 years ago
|
Severity: normal → S3
Comment 6•2 years ago
|
||
Reporter, are you still experiencing this issue?
Flags: needinfo?(gijskruitbosch+bugs)
Reporter | ||
Comment 7•2 years ago
|
||
Perhaps unsurprisingly, I no longer have the same machine as 6 years ago. On my current M1 mac, the site seems to behave fine. I took a nightly profile just in case it flags anything up: https://share.firefox.dev/3YFCDOw .
Flags: needinfo?(gijskruitbosch+bugs)
Comment 8•2 years ago
•
|
||
I can reproduce slow image painting as described in comment 0 in builds from 2015 to 2018. It became much faster in this pushlog
Closing as WFM
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.
Description
•