Closed Bug 832374 Opened 11 years ago Closed 11 years ago

Gradients causing pauses of multiple seconds...should have a way to abort

Categories

(Core :: Graphics, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 823141

People

(Reporter: vladan, Unassigned)

References

Details

Taras noticed the following site causes severe multi-second janks:

http://www.psfk.com/2013/01/honda-gear-concept-is-brands-return-to-cool.html

I grabbed a quick profile and found us spending 5.3 seconds in mozilla::gfx::DrawTargetD2d::SetupEffectForRadialGradient on my fast machine with a GTX 570. The page is smooth in Chrome. The page does not jank with hardware acceleration disabled.

http://people.mozilla.com/~bgirard/cleopatra/#report=8cf63740f3bc539aba9413dc1de7d580b4b07b5a
This behavior occurs both on Nightly & Release, so it's not a regression
Summary: Gradients causing multi-second pauses on a page → Gradients causing pauses of multiple seconds
We should add a way to bail from conditions like this. This page made it impossible to close the tab on my laptop
Summary: Gradients causing pauses of multiple seconds → Gradients causing pauses of multiple seconds...should have a way to abort
I think we should just fix bug 823147 which makes this needlessly slow with D2D
Depends on: 823147
Duplicate of bug 823141 which covers psfk.com gradients.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.