• bratell's avatar
    A GL Query cache of 1024 items is enough (was 4096). · a5989e1f
    bratell authored
    Since each QuerySyncManager has its own cache, even a moderate
    cache size expands to several hundred KB of memory usage. This makes
    it slightly smaller to save some of that memory. It is believed
    to be unlikely that the cache has to be big anyway.
    
    In ad-hoc testing I've only seen 20 queries in total (unclear how
    many of them were in parallel).
    
    (This is alt #1 in bug 485536)
    
    BUG=485536
    R=reveman@chromium.org
    
    Review URL: https://codereview.chromium.org/1138463003
    
    Cr-Commit-Position: refs/heads/master@{#329383}
    a5989e1f
query_tracker.h 3.85 KB