Closed
Bug 414298
Opened 17 years ago
Closed 17 years ago
[FIX]Any change that causes a table reflow invalidates the whole table
Categories
(Core :: Layout: Tables, defect, P5)
Tracking
()
VERIFIED
FIXED
mozilla1.9beta4
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
(Keywords: perf)
Attachments
(1 file)
(deleted),
patch
|
roc
:
review+
roc
:
superreview+
roc
:
approval1.9+
|
Details | Diff | Splinter Review |
See bug 377419 comment 38. Any time we have any kind of painting performance issue, this absolutely kills us, as we discovered in that bug.
Case in point: changing the value of any combobox on pretty much any Bugzilla page is really slow.
Ideally, we wouldn't be invalidating the world that way, but only invalidating the things that actually changed...
Flags: blocking1.9?
Updated•17 years ago
|
Flags: wanted1.9+
Flags: blocking1.9?
Flags: blocking1.9-
Priority: -- → P5
Assignee | ||
Comment 1•17 years ago
|
||
I tested the issue in bug 91491, and it's not a problem with this patch: it got fixed by bug 379353.
I think this should be safe change to make; I did some testing and didn't run into any bugs.
Note that the only substantive change is the one in nsTableFrame::Reflow. The rest is non-behavior-changing cleanup that just makes it more obvious that we always do that invalidate.
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #301563 -
Flags: superreview?(roc)
Attachment #301563 -
Flags: review?(roc)
Assignee | ||
Updated•17 years ago
|
Summary: Any change that causes a table reflow invalidates the whole table → [FIX]Any change that causes a table reflow invalidates the whole table
Attachment #301563 -
Flags: superreview?(roc)
Attachment #301563 -
Flags: superreview+
Attachment #301563 -
Flags: review?(roc)
Attachment #301563 -
Flags: review+
Assignee | ||
Comment 2•17 years ago
|
||
Comment on attachment 301563 [details] [diff] [review]
Let's just do this
Requesting approval. This is probably low-to-medium-risk, but is a nice performance win on DHTML-like stuff in many situations.
In the unlikely event that this turns out to have too many regressions, it'll be easy to just put the over-invalidation back in as late in the cycle as we want. So I think there's not that much risk to taking this patch.
Attachment #301563 -
Flags: approval1.9?
Attachment #301563 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Comment 3•17 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 4•17 years ago
|
||
It's quite likely this caused bug 416073
Depends on: 416181
Comment 5•17 years ago
|
||
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9b4pre) Gecko/2008020702 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4)
V.Fixed, per bug 377419 comment 54 ...
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9b4pre) Gecko/2008020803 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4)
... and regression bug 419073 too :-)
Status: RESOLVED → VERIFIED
OS: Linux → All
Target Milestone: --- → mozilla1.9beta4
Comment 6•17 years ago
|
||
Depends on: 421632
You need to log in
before you can comment on or make changes to this bug.
Description
•