Descriptioncc: Optimize picture layer tiling raster tile iterator.
This patch ensures that we only create tiling data iterators when
we visit the corresponding region.
Relevant perf data from a macbook:
Before:
tiling_raster_tile_iterator_construct:
0_0_100x100= 5828515 runs/s
50_0_100x100= 5530272 runs/s
100_0_100x100= 2730390 runs/s
150_0_100x100= 3735413.25 runs/s
tiling_raster_tile_iterator_construct_and_iterate:
32_100x100= 576050 runs/s
32_500x500= 601867.5625 runs/s
64_100x100= 353348.21875 runs/s
64_500x500= 362777.46875 runs/s
After:
tiling_raster_tile_iterator_construct:
0_0_100x100= 7913765 runs/s (+36%)
50_0_100x100= 7875735 runs/s (+42%)
100_0_100x100= 3382876.5 runs/s (+23%)
150_0_100x100= 5191805 runs/s (+39%)
tiling_raster_tile_iterator_construct_and_iterate:
32_100x100= 599836.6875 runs/s (+4%)
32_500x500= 629638.75 runs/s (+5%)
64_100x100= 357503.9375 runs/s (+<1%)
64_500x500= 372805.71875 runs/s (+3%)
R=reveman
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285542
Patch Set 1 #
Total comments: 1
Patch Set 2 : rebase #
Messages
Total messages: 7 (0 generated)
|