Bug 55733 - DrawingAreaProxyImpl should decide how frequently to throw away its backing store based on how expensive painting is
Summary: DrawingAreaProxyImpl should decide how frequently to throw away its backing s...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 51262
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-03 17:22 PST by Adam Roben (:aroben)
Modified: 2017-05-26 10:21 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 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 Adam Roben (:aroben) 2011-03-03 17:39:27 PST
<rdar://problem/9084989>
Comment 2 Anders Carlsson 2017-05-26 10:21:14 PDT
We don't use DrawingAreaProxyImpl anymore.