Bug 126459

Summary: Region is 432 bytes out of the box
Product: WebKit Reporter: Tim Horton <thorton>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andersca, danakj, kling, koivisto, sam, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Tim Horton 2014-01-03 14:26:26 PST
Region is enormous! It has Vectors with a huge inline capacity. We should do something to make it smaller (and maybe especially optimize for the case where it ends up just being one rect).
Comment 1 Simon Fraser (smfr) 2014-02-05 12:13:02 PST
Loading webkit.org makes large regions:
Region 0x7fb766810f98: 208 segments, 84 spans
yahoo.com:
Region 0x7fb766811148: 442 segments, 76 spans

These big regions are from Page::addRelevantRepaintedObject().

Many regions are small, however.
Comment 2 Tim Horton 2014-02-17 15:32:48 PST
Is it possible to make it so that we can specify the inline size on the Region? Then we can make the relevant repainted object ones big and default to small?
Comment 3 Tim Horton 2014-02-17 15:33:01 PST
(like Vector)
Comment 4 Anders Carlsson 2014-02-17 15:37:13 PST
I think what we really want for tracking repaint rects is some sort of non-exact region that tries to stay simple...
Comment 5 Tim Horton 2014-02-17 15:43:33 PST
(In reply to comment #4)
> I think what we really want for tracking repaint rects is some sort of non-exact region that tries to stay simple...

That is probably true.