DescriptionUse the V8 one-pass compilation API in Blink.
With this API, we can get rid of the precompilation phase. When the script is
compiled the first time, the compilation will produce the lazy function
data (the same data which the precompilation used to produce). This data is then
cached and used when the script is compiled again. Note that the caching only
happens inside one renderer, and the data is not stored on disk.
Getting rid of the separate precompilation phase enables various improvements on
the V8 side, for example, using multiple threads for parsing: one will run a
fast parser to produce the lazy function data, another will run the real
(slower) parser and use the lazy function data to skip over functions.
Perf note: This doesn't regress morejs warm times. That means that the data is
generated and used correctly.
BUG=
R=haraken@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170183
Patch Set 1 #Patch Set 2 : . #
Total comments: 6
Patch Set 3 : code review (haraken) #
Messages
Total messages: 11 (0 generated)
|