• Clemens Backes's avatar
    [wasm] Add histograms for huge function compilation · a197c935
    Clemens Backes authored
    This adds dedicated histograms for measuring the memory consumption and
    compilation time for compiling "huge functions". Those are functions
    with a body of more than 100kB. They are a *very* small fraction of all
    functions (<0.01% according to current data), but their compile time is
    often unproportionally large. Since they would just disappear in the
    overall histograms, this CL adds dedicated histograms to make the
    compile time and memory consumption of those functions more visible.
    
    R=ecmziegler@chromium.org
    
    Bug: chromium:1238828
    Change-Id: I30bd07792ef4d9d67ff60c49c9edd0892c5c6e6d
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3089166Reviewed-by: 's avatarEmanuel Ziegler <ecmziegler@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#76239}
    a197c935
function-compiler.cc 10.8 KB