[Webkit-unassigned] [Bug 51262] WebPageProxy should delete its backing store after not painting for a while
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 10 14:29:21 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=51262
--- Comment #12 from Adam Roben (aroben) <aroben at apple.com> 2011-02-10 14:29:21 PST ---
(In reply to comment #9)
> Straw-person proposal:
>
> 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%.
A slight refinement to this would be to change step 3 to use an exponentially weighted moving average to update the timer interval. That would prevent an outlier repaint that took a vastly different amount of time from skewing the timer too much.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list