Closed
Bug 770524
Opened 12 years ago
Closed 12 years ago
Huge scrolling performance drop when viewing tag cloud
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: jdm, Assigned: mstange)
References
()
Details
(Keywords: perf, regression)
Attachments
(1 file)
565 bytes,
patch
|
roc
:
review+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Scroll down the page in a nightly until the tag cloud on the right is visible. Notice the insane performance drop that occurs.
Reporter | ||
Comment 1•12 years ago
|
||
While there is a really janky pause that occurs about halfway down the tag cloud in builds without DLBI, with DLBI the experience is much worse. We should try to achieve parity with the sub-optimal scrolling we currently provide :)
Reporter | ||
Updated•12 years ago
|
Keywords: regression
Comment 2•12 years ago
|
||
Noticeable on Win 7 using D2D/D3D10 (ATI 4850) too. Profile: http://people.mozilla.com/~bgirard/cleopatra/?report=AMIfv96WyyazdpH8pIF1GPMR8gMX7wlEfpOZGAqJxFmYsTa5ijBZ9jLqszJBSScGSjXmj52PX8-uL3NEJYF-HOjvFGomYYEfjB2H2zGKhICtpZp5YcZGZlSo-gfTKnjVWXx49VEDzeujNJWDYcREJE6FIW2rI-jYWw (against http://hg.mozilla.org/mozilla-central/rev/87db9617a885)
I can reproduce this in win7/d3d10, but not linux-x64/basic.
Suspected dup of bug 770061.
Depends on: 770061
It's not a dup, because the fix for 770061 made it into the dlbi relanding.
No longer depends on: 770061
Comment 6•12 years ago
|
||
I'm not seeing anything with HWA disabled. (Using latest AMD driver for Radeon 7850, which seems to be blacklisted).
Looks like a whole lot of tiny elements with opacity, causing DLBI to generate a large number of layer managers for the inactive content.
I can no longer reproduce. Suspected fixed by bug 778367.
All those small tags are invisible (but still clickable). This explains why the performance is better. I don't think this is intended and probably the bug is not solved either.
I don't think bug 778367 could have fixed this bug as reported by Josh on Mac, since we don't use Azure for page content on Mac.
Yeah, I only tested on win7/d3d10. Reopening for mac.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
(In reply to kamulos from comment #9) > All those small tags are invisible (but still clickable). This explains why > the performance is better. I don't think this is intended and probably the > bug is not solved either. Yes, this is bad :-(.
Filed bug 797797.
Fwiw, the scrolling regression is back in the 10/4 nightly on win7/d3d10.
No longer depends on: 778367
Comment 15•12 years ago
|
||
Any testing or profiling needed to help fix this bug?
Comment 16•12 years ago
|
||
This is much improved but today's moz-central win32 nightly still "stutters" when scrolling the page this bug was filed for.
Assignee | ||
Comment 17•12 years ago
|
||
This is slow because the opacity display items in the cloud are repainted on every paint, and because opacity painting on Mac is slow in general (bug 665293). The constant repainting only starts for display items with a Y coordinate >= 2048px, and that's because these items always think their transform has changed because FuzzyEqual returns false for their matrix's Y translation component because a - 1e-4f == a for negative floats a <= -2048.0f.
Comment on attachment 675039 [details] [diff] [review] fix fuzzyequal Review of attachment 675039 [details] [diff] [review]: ----------------------------------------------------------------- Genius!
Attachment #675039 -
Flags: review?(roc) → review+
Assignee | ||
Comment 19•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/12503ddc353b
Comment 20•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/12503ddc353b
Status: ASSIGNED → RESOLVED
Closed: 12 years ago → 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
DLBI regression, so affects FF18.
status-firefox18:
--- → affected
tracking-firefox18:
--- → ?
Comment on attachment 675039 [details] [diff] [review] fix fuzzyequal [Approval Request Comment] Bug caused by (feature/regressing bug #): DLBI User impact if declined: Slow rendering on large pages using effects like opacity Testing completed (on m-c, etc.): none Risk to taking this patch (and alternatives if risky): Very low risk, this is just a very small tweak. String or UUID changes made by this patch: None.
Attachment #675039 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
Attachment #675039 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•12 years ago
|
Comment 23•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/cb7a877d506f
status-firefox19:
--- → fixed
Comment 24•11 years ago
|
||
I confirm the fix is verified on FF 19b3 on Mac OS 10.8
You need to log in
before you can comment on or make changes to this bug.
Description
•