Description[VM-Compiler] Don't inline if we don't have inlining budget enough to fully inline.
When deciding whether to inline a function that has already been optimized
once, take a look at how many levels of inlining took place when it was
optimized stand-alone. If we don't have that much depth budget left, don't
inline. This is an attempt to avoid the situation where we inline a function
that was already optimized, and then fail to inline important things that are
in the inner loop.
The benchmarking server shows about a 3% improvement on average when running
the DartJS compiler
R=vegorov@google.com
BUG=
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add InliningDecision return struct #Patch Set 3 : Do InliningDecision the way Slava suggested #
Messages
Total messages: 5 (0 generated)
|