• kschimpf's avatar
    Don't report array buffer allocations less than 1 Mb. · 3d053506
    kschimpf authored
    History has shown that 99.93% (or more) of all memory allocations are less
    than 1 megabyte, and they all appear in the same UMA stat entry.
    
    To give perspective, the entry for <= 1Mb is about 20,000 times larger
    than any other entry in the table. This makes the distribution in the
    table hard to see.
    
    And, for allocation failures at this size, the percentage of failures
    (when compared to number of requests) is soo small (millions to one)
    that little data can be gleamed from the <= 1Mb entry.
    
    Note: requires CL https://codereview.chromium.org/2867483002
    
    BUG=chrome:704922
    R=bradnelson@chromium.org, bbudge@chromium.org, isherman@chromium.org
    
    Review-Url: https://codereview.chromium.org/2856663002
    Cr-Commit-Position: refs/heads/master@{#45148}
    3d053506
counters.h 59 KB