Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(714)

Issue 411183002: cc: Optimize picture layer tiling raster tile iterator. (Closed)

Created:
6 years, 5 months ago by vmpstr
Modified:
6 years, 5 months ago
Reviewers:
reveman
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -41 lines) Patch
M cc/resources/picture_layer_tiling.h View 1 3 chunks +5 lines, -14 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 11 chunks +56 lines, -27 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
vmpstr
PTAL
6 years, 5 months ago (2014-07-24 00:34:34 UTC) #1
reveman
lg, I just like to see if we can't make some of the code modified ...
6 years, 5 months ago (2014-07-24 13:09:23 UTC) #2
vmpstr
I've rebased this on the other patches, ptal.
6 years, 5 months ago (2014-07-24 16:44:13 UTC) #3
reveman
lgtm
6 years, 5 months ago (2014-07-24 16:52:59 UTC) #4
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 5 months ago (2014-07-25 02:32:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/411183002/20001
6 years, 5 months ago (2014-07-25 02:35:31 UTC) #6
commit-bot: I haz the power
6 years, 5 months ago (2014-07-25 09:29:06 UTC) #7
Message was sent while issue was closed.
Change committed as 285542

Powered by Google App Engine
This is Rietveld 408576698