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

Issue 398073002: cc: Add tiling raster tile iterator construction perftest. (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: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -14 lines) Patch
M cc/resources/picture_layer_tiling_perftest.cc View 1 2 3 4 3 chunks +50 lines, -14 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
vmpstr
PTAL
6 years, 5 months ago (2014-07-16 17:09:21 UTC) #1
reveman
https://codereview.chromium.org/398073002/diff/20001/cc/resources/picture_layer_tiling_perftest.cc File cc/resources/picture_layer_tiling_perftest.cc (right): https://codereview.chromium.org/398073002/diff/20001/cc/resources/picture_layer_tiling_perftest.cc#newcode152 cc/resources/picture_layer_tiling_perftest.cc:152: it && count; whatever we decide is the best ...
6 years, 5 months ago (2014-07-16 22:09:03 UTC) #2
vmpstr
PTAL https://codereview.chromium.org/398073002/diff/20001/cc/resources/picture_layer_tiling_perftest.cc File cc/resources/picture_layer_tiling_perftest.cc (right): https://codereview.chromium.org/398073002/diff/20001/cc/resources/picture_layer_tiling_perftest.cc#newcode152 cc/resources/picture_layer_tiling_perftest.cc:152: it && count; On 2014/07/16 22:09:03, reveman wrote: ...
6 years, 5 months ago (2014-07-17 00:17:41 UTC) #3
reveman
lgtm with nit https://codereview.chromium.org/398073002/diff/40001/cc/resources/picture_layer_tiling_perftest.cc File cc/resources/picture_layer_tiling_perftest.cc (right): https://codereview.chromium.org/398073002/diff/40001/cc/resources/picture_layer_tiling_perftest.cc#newcode153 cc/resources/picture_layer_tiling_perftest.cc:153: for (; it && count; ++it) ...
6 years, 5 months ago (2014-07-17 16:16:15 UTC) #4
vmpstr
https://codereview.chromium.org/398073002/diff/40001/cc/resources/picture_layer_tiling_perftest.cc File cc/resources/picture_layer_tiling_perftest.cc (right): https://codereview.chromium.org/398073002/diff/40001/cc/resources/picture_layer_tiling_perftest.cc#newcode153 cc/resources/picture_layer_tiling_perftest.cc:153: for (; it && count; ++it) { On 2014/07/17 ...
6 years, 5 months ago (2014-07-17 16:33:36 UTC) #5
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 5 months ago (2014-07-17 16:33:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/398073002/60001
6 years, 5 months ago (2014-07-17 16:36:08 UTC) #7
reveman
https://codereview.chromium.org/398073002/diff/60001/cc/resources/picture_layer_tiling_perftest.cc File cc/resources/picture_layer_tiling_perftest.cc (right): https://codereview.chromium.org/398073002/diff/60001/cc/resources/picture_layer_tiling_perftest.cc#newcode157 cc/resources/picture_layer_tiling_perftest.cc:157: ASSERT_EQ(-1, count); don't think you need this. it would ...
6 years, 5 months ago (2014-07-17 16:39:26 UTC) #8
vmpstr
The CQ bit was unchecked by vmpstr@chromium.org
6 years, 5 months ago (2014-07-17 17:14:52 UTC) #9
vmpstr
https://codereview.chromium.org/398073002/diff/60001/cc/resources/picture_layer_tiling_perftest.cc File cc/resources/picture_layer_tiling_perftest.cc (right): https://codereview.chromium.org/398073002/diff/60001/cc/resources/picture_layer_tiling_perftest.cc#newcode157 cc/resources/picture_layer_tiling_perftest.cc:157: ASSERT_EQ(-1, count); On 2014/07/17 16:39:26, reveman wrote: > don't ...
6 years, 5 months ago (2014-07-17 17:16:25 UTC) #10
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 5 months ago (2014-07-17 17:16:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/398073002/80001
6 years, 5 months ago (2014-07-17 17:18:34 UTC) #12
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 20:12:06 UTC) #13
Message was sent while issue was closed.
Change committed as 283850

Powered by Google App Engine
This is Rietveld 408576698