• vmpstr@chromium.org's avatar
    cc: Add layer eviction iterator perftests. · 16f1c908
    vmpstr@chromium.org authored
    This patch adds a construct and a construct and iterate tests for
    layer level eviction iterators.
    
    Initial runs:
    [ RUN      ] PictureLayerImplPerfTest.LayerEvictionTileIteratorConstructAndIterate
    *RESULT layer_eviction_tile_iterator_construct_and_iterate: 32_100x100= 47900.80859375 runs/s
    *RESULT layer_eviction_tile_iterator_construct_and_iterate: 32_500x500= 50885.39453125 runs/s
    *RESULT layer_eviction_tile_iterator_construct_and_iterate: 64_100x100= 49707.58984375 runs/s
    *RESULT layer_eviction_tile_iterator_construct_and_iterate: 64_500x500= 49089.5078125 runs/s
    [       OK ] PictureLayerImplPerfTest.LayerEvictionTileIteratorConstructAndIterate (8069 ms)
    [ RUN      ] PictureLayerImplPerfTest.LayerEvictionTileIteratorConstruct
    *RESULT layer_eviction_tile_iterator_construct: 0_0_100x100= 52248.0390625 runs/s
    *RESULT layer_eviction_tile_iterator_construct: 5000_0_100x100= 28544.1015625 runs/s
    *RESULT layer_eviction_tile_iterator_construct: 9999_0_100x100= 29921.828125 runs/s
    [       OK ] PictureLayerImplPerfTest.LayerEvictionTileIteratorConstruct (6042 ms)
    
    
    R=reveman
    
    Review URL: https://codereview.chromium.org/404583002
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283979 0039d316-1c4b-4281-b951-d872f2087c98
    16f1c908
picture_layer_impl_perftest.cc 8.33 KB