• vmpstr@chromium.org's avatar
    cc: Add eviction tile queue construct (and iterate) perftests. · e58d02fe
    vmpstr@chromium.org authored
    This patch adds construct as well as construct and iterate perftests
    for the eviction tile priority queue.
    
    Initial runs (from my macbook):
    [ RUN      ] TileManagerPerfTest.EvictionTileQueueConstruct
    *RESULT tile_manager_eviction_tile_queue_construct: 2= 412610.25 runs/s
    *RESULT tile_manager_eviction_tile_queue_construct: 10= 48552.328125 runs/s
    *RESULT tile_manager_eviction_tile_queue_construct: 100= 1245.8426513671875 runs/s
    [       OK ] TileManagerPerfTest.EvictionTileQueueConstruct (6185 ms)
    [ RUN      ] TileManagerPerfTest.EvictionTileQueueConstructAndIterate
    *RESULT tile_manager_eviction_tile_queue_construct_and_iterate: 2_16= 3109.413818359375 runs/s
    *RESULT tile_manager_eviction_tile_queue_construct_and_iterate: 2_32= 2810.639404296875 runs/s
    *RESULT tile_manager_eviction_tile_queue_construct_and_iterate: 2_64= 2365.239990234375 runs/s
    *RESULT tile_manager_eviction_tile_queue_construct_and_iterate: 2_128= 1793.8878173828125 runs/s
    [       OK ] TileManagerPerfTest.EvictionTileQueueConstructAndIterate (8358 ms)
    
    R=reveman
    
    Review URL: https://codereview.chromium.org/410523002
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285645 0039d316-1c4b-4281-b951-d872f2087c98
    e58d02fe
tile_manager_perftest.cc 17.6 KB