• Peter Marshall's avatar
    [cpu-profiler] Speed up Inlining2 test by using a min num of samples · 10be5423
    Peter Marshall authored
    This test tried to get enough samples by varying the amount of work
    done based on simulator vs. non-simulator builds. This didn't take
    into account other things like release vs. debug, and some bots took
    a very long time to run this test.
    
    This CL uses the existing ProfilerHelper and sets a minimum number of
    samples so that we can actually run the minimum amount of work for
    any platform without manual tweaking.
    
    This decreases runtime on x64.optdebug from 18.5 to 1.08s, and from
    10+ min on x64.debug to 1.8s. arm.debug is ~4s now.
    
    Bug: v8:10013
    Change-Id: Ibdbdec00a300683554e3c67013e56d27dc7e6257
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1981504
    Auto-Submit: Peter Marshall <petermarshall@chromium.org>
    Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Commit-Queue: Peter Marshall <petermarshall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65574}
    10be5423
cctest.status 25 KB