Bug 126459 - Region is 432 bytes out of the box
Summary: Region is 432 bytes out of the box
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-03 14:26 PST by Tim Horton
Modified: 2014-02-17 15:43 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.