[Webkit-unassigned] [Bug 184015] API::SharedJSContext caches its JSContext for at most one second
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 27 14:30:17 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=184015
--- Comment #3 from ide at jameside.com ---
It would also be desirable for JS evaluation to be responsive if the app has been idle for a while. For example, if UITouch events invoke -[WKWebView evaluateJavaScript:completionHandler:] and wait for a result via the completionHandler before updating the screen, using a cached JSContext could save a frame or two, assuming 60 FPS. So, it'd be useful to keep the JSContext around for a longer period of time until an event like memory pressure or backgrounding the app occurs.
--
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/20180327/a26299eb/attachment.html>
More information about the webkit-unassigned
mailing list