Summary: | Painting on a table with overflow: hidden cells is very slow | ||
---|---|---|---|
Product: | WebKit | Reporter: | Julien Chaffraix <jchaffraix> |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | dglazkov, eric, jamesr, simon.fraser, thorton, tomhudson, tonikitoo |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://dglazkov.github.com/performance-tests/biggrid.html | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=73715 | ||
Bug Depends on: | 88386, 89389, 89899, 85678, 88464, 88570, 88888 | ||
Bug Blocks: | 73714, 92258 |
Description
Julien Chaffraix
2011-12-21 01:59:03 PST
For the record, when scrolling on the page on a 10,000 * 100 table with overflow: hidden, the painting used to take ~255 ms (for 2048 x 256). We are now down to ~45 ms. Painting has been sped up but the core issue still remains: we should have visit only the visible cells instead of all the cells in the table. (In reply to comment #1) > For the record, when scrolling on the page on a 10,000 * 100 table with overflow: hidden, the painting used to take ~255 ms (for 2048 x 256). We are now down to ~45 ms. Bug 88888 landed another performance optimization. It makes us not visit any of the cells in biggrid.html particular case. This brings the paint time to ~6ms in the same conditions. > Painting has been sped up but the core issue still remains: we should have visit only the visible cells instead of all the cells in the table. The optimization is somewhat limited and could be improved upon. First hit-testing is still sluggish but also the optimization relies on having _no_ self-painting-descendants which means that if you have one, you don't reap any performance benefit. I am keeping this bug open to track more of the fixes. |