| Summary: | [Table] slow relayouting when the visible area is large | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Thomas Haskes <t.haskes> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daria.spam, tbuschto | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Thomas Haskes
Created attachment 168867 [details]
sample project showing the problem
I tested your example with different browsers. First of all, a full page table with 32 columns and > 35 visible rows results in a lot of DOM elements to re-layout which is a challenge for older browsers. With a modern browser like Chrome, there is almost no noticeable delay. But with FF 3.0 or IE 7, the delay is really annoying. Here are two possible optimizations: * More than half of the time is used up by the DOM operations in TableItem.js#_renderText. I guess there is still room for improvement, e.g. sorting out which element properties really need to be changed. * I noticed that cell divs are rendered even for empty cells. I remember that in the original design those divs are only needed if there is an image, text or cell background color set. *** Bug 330370 has been marked as a duplicate of this bug. *** By resolving the Bug 332524 the client-side widgets of Tree and Table are now merged. Tim, is this still an issue with the new implementation? Tim, can we close this bug? I can#t say if the reporter is okay with the current state, but we DO have Bug 338196 to track Tree/Table performance issues. (In reply to comment #6) > I can#t say if the reporter is okay with the current state, but we DO have Bug > 338196 to track Tree/Table performance issues. OK. This bug report is completely outdated as we have a new client-side Table implementation (see bug 332524). I will close it as WONTFIX. Further optimizations will be tracked by bug 338196. Thomas, please reopen it if you disagree. I decided to change the resolution state to duplicate of bug 338196. *** This bug has been marked as a duplicate of bug 338196 *** I agree, no need to reopen from my point of view. |