Commit c0aaa0d9 authored by Tobias Tebbi's avatar Tobias Tebbi Committed by V8 LUCI CQ

[compiler] faster TurboFan tier-up for small functions

Trigger tier-up faster for small functions, while waiting longer
for big functions, while trying to keep the overall amount of
optimization roughly the same.

Change-Id: I279daa21e151e9db20340089f9fa111141c6e645
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3779910Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82026}
parent 1036f176
......@@ -652,12 +652,12 @@ DEFINE_INT(interrupt_budget_for_maglev, 40 * KB,
"interrupt budget which should be used for the profiler counter")
// Tiering: Turbofan.
DEFINE_INT(interrupt_budget, 132 * KB,
DEFINE_INT(interrupt_budget, 66 * KB,
"interrupt budget which should be used for the profiler counter")
DEFINE_INT(ticks_before_optimization, 3,
"the number of times we have to go through the interrupt budget "
"before considering this function for optimization")
DEFINE_INT(bytecode_size_allowance_per_tick, 1100,
DEFINE_INT(bytecode_size_allowance_per_tick, 150,
"increases the number of ticks required for optimization by "
"bytecode.length/X")
DEFINE_INT(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment