Bug 55733 - DrawingAreaProxyImpl should decide how frequently to throw away its backing store based on how expensive painting is
: DrawingAreaProxyImpl should decide how frequently to throw away its backing s...
Status: NEW
: WebKit
Layout and Rendering
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To:
:
: InRadar
: 51262
:
  Show dependency treegraph
 
Reported: 2011-03-03 17:22 PST by
Modified: 2011-03-03 17:39 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2011-03-03 17:22:56 PST
From bug 51262 comment 9:

> 1. Begin with a timer interval of 5s.
> 2. After throwing away a backing store, record the time interval required for the next paint.
> 3. Update the timer interval to 100 * the recorded time interval in 2.
> 
> For fast-painting sites, this will throw backing stores away quickly. For slow-painting sites, this will approximate a maximum thrash cost of 1%.

We should do this! Right now we always throw away after 5s.

Note some of the complexity in defining "the time interval required for the next paint" mentioned in bug 51262 comment 41.
------- Comment #1 From 2011-03-03 17:39:27 PST -------
<rdar://problem/9084989>