[webkit-help] [JavaScriptCore] Load JSContext from snapshot

Lukas Kollmer lukas.kollmer at gmail.com
Wed May 31 02:57:15 PDT 2017


Google's v8 JavaScript engine supports snapshots, which are basically a way
to load a prepared context from a file, instead of creating everything from
The obvious advantage of this approach are drastically reduced setup times
when creating a new context. (Google's blogpost claims they managed to
reduce the time it takes to create a new context from ~40 ms to ~2 ms on
desktop and from ~270 ms to just ~10 ms on a mobile phone.)

Does JavaScriptCore support snapshots or a similar feature?

Google's blogpost:

Lukas Kollmer
lukas.kollmer at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20170531/411c7a9f/attachment.html>

More information about the webkit-help mailing list