Descriptioncc: Add tiling raster tile iterator construction perftest.
This test measures how expensive it is to simply create a tiling raster
tile iterator.
Initial run from a macbook pro:
[ RUN ] PictureLayerTilingPerfTest.TilingRasterTileIteratorConstruction
*RESULT tiling_raster_tile_iterator_construction: 0_0_100x100= 5843577 runs/s
*RESULT tiling_raster_tile_iterator_construction: 50_0_100x100= 5940125 runs/s
*RESULT tiling_raster_tile_iterator_construction: 100_0_100x100= 3772066.25 runs/s
*RESULT tiling_raster_tile_iterator_construction: 150_0_100x100= 3712790 runs/s
[ OK ] PictureLayerTilingPerfTest.TilingRasterTileIteratorConstruction (12713 ms)
We can see here that there is some cost (albeit small) associated
with the construction. If the viewport is off the layer bounds,
then we pay more to figure out where the first tile is.
This cost is paid for each tiling iterator that is created (typically two
per layer: high res and low res).
NOTE TO PERF SHERIFFS
--------------------
This patch removes tiling_raster_tile_iterator test and replaces it
it tiling_raster_tile_iterator_construct_and_iterate as well as
tiling_raster_tile_iterator_construct test.
R=reveman
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283850
Patch Set 1 #Patch Set 2 : real patch #
Total comments: 4
Patch Set 3 : update #
Total comments: 2
Patch Set 4 : update #
Total comments: 2
Patch Set 5 : fix #Messages
Total messages: 13 (0 generated)
|