• Jakob Linke's avatar
    [maglev] Reset profiler ticks on ML finalization · 65656859
    Jakob Linke authored
    .. since ticks collected in lower tiers use a different budget than
    ticks collected in ML code. Keeping ticks from a lower tier would lead
    to earlier-than-expected TF compilation requests.
    
    Also, remove the runtime call between loops in osr-from-ml-to-tf.js
    to not give TF too much time to tier up. It should no longer happen
    now that ticks are cleared, but there's also no reason for the runtime
    function to between the loops.
    
    Bug: v8:7700
    Fixed: v8:13242
    Change-Id: I901c636079de05cb62d2aae1c92f0285a0f8c1ad
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3867310
    Auto-Submit: Jakob Linke <jgruber@chromium.org>
    Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#82859}
    65656859
osr-from-ml-to-tf.js 841 Bytes