[webkit-dev] squirrelfish-bytecode
Maciej Stachowiak
mjs at apple.com
Wed May 13 01:11:22 PDT 2009
On May 13, 2009, at 12:18 AM, Meryl Silverburgh wrote:
> Hi,
>
> Does webkit cache squirrelfish bytecode? For example, multiple can use
> the same javascript file (e.g. common javascript libraries, like
> jquery, or same domain uses some common javascript file across
> different pages for the same domain).
>
> When webkit parses the JS file and builds squirrelfish-bytecode, does
> it cache it ? so that subsequence loading of the same js file will
> skip the js compile process?
We don't currently cache the bytecode (or the native code). It is an
option we have considered, however, currently, code generation is a
trivial portion of JS execution time (< 2%), so we're not pursuing
this at the moment.
Regards,
Maciej
More information about the webkit-dev
mailing list