[Webkit-unassigned] [Bug 184015] API::SharedJSContext caches its JSContext for at most one second

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 16 11:52:10 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=184015

--- Comment #7 from Geoffrey Garen <ggaren at apple.com> ---
...I think it's also OK to increase the timer to something like 10s or 30s -- but it's not clear that would fully solve the performance complaint here.

I don't agree with the suggestion to rely on a memory pressure event. Caches that only evict upon memory pressure create a tragedy of the commons where memory pressure events become more common, and then you just always evict all of your caches all of the time. It is preferable, when possible, to evict eagerly when you know you don't need your cache anymore.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180816/a8ae8209/attachment.html>


More information about the webkit-unassigned mailing list