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

Issue 11434033: Track the cost of impl-side painting. (Closed)

Created:
8 years ago by Tom Hudson
Modified:
8 years ago
Reviewers:
nduca, reveman
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

Track the rendering & painting cost of impl-side painting. We record how long the rendering thread takes to render each PicturePile, accumulate in TileManager, and report through LayerTreeHostImpl; telemetry queries this information and dumps the output. Note that non-impl-side-painting doesn't yet report this correctly? BUG=163324 TEST=manual TBR=nduca,reveman Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170274

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 11

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -8 lines) Patch
M cc/layer_tree_host_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/picture.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cc/picture_pile_impl.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M cc/picture_pile_impl.cc View 1 2 3 4 3 chunks +12 lines, -1 line 0 comments Download
M cc/tile_manager.h View 1 2 3 4 4 chunks +7 lines, -1 line 0 comments Download
M cc/tile_manager.cc View 1 2 3 4 6 chunks +26 lines, -5 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
Tom Hudson
Nat, is this what you were asking for this morning? Numbers on the Linux desktop ...
8 years ago (2012-11-29 16:47:57 UTC) #1
nduca
epic. Small tweaks https://codereview.chromium.org/11434033/diff/1009/cc/picture_pile.cc File cc/picture_pile.cc (right): https://codereview.chromium.org/11434033/diff/1009/cc/picture_pile.cc#newcode55 cc/picture_pile.cc:55: stats.totalPaintTimeInSeconds += (base::TimeTicks::Now() - Lets move ...
8 years ago (2012-11-29 18:16:30 UTC) #2
Tom Hudson
https://codereview.chromium.org/11434033/diff/1009/cc/picture_pile.cc File cc/picture_pile.cc (right): https://codereview.chromium.org/11434033/diff/1009/cc/picture_pile.cc#newcode55 cc/picture_pile.cc:55: stats.totalPaintTimeInSeconds += (base::TimeTicks::Now() - On 2012/11/29 18:16:30, nduca wrote: ...
8 years ago (2012-11-29 19:16:11 UTC) #3
reveman
https://codereview.chromium.org/11434033/diff/1009/cc/picture_pile_impl.cc File cc/picture_pile_impl.cc (left): https://codereview.chromium.org/11434033/diff/1009/cc/picture_pile_impl.cc#oldcode31 cc/picture_pile_impl.cc:31: void PicturePileImpl::Raster(SkCanvas* canvas, gfx::Rect rect) { On 2012/11/29 19:16:11, ...
8 years ago (2012-11-29 19:27:02 UTC) #4
Tom Hudson
I think I've addressed everything, and cleaned up the lint. I'm not sure I trust ...
8 years ago (2012-11-29 20:30:31 UTC) #5
nduca
https://codereview.chromium.org/11434033/diff/6004/cc/tile_manager.cc File cc/tile_manager.cc (right): https://codereview.chromium.org/11434033/diff/6004/cc/tile_manager.cc#newcode223 cc/tile_manager.cc:223: stats->totalPixelsRasterized += rendering_stats_.totalPixelsRasterized; dont add, just set. https://codereview.chromium.org/11434033/diff/6004/cc/tile_manager.cc#newcode224 cc/tile_manager.cc:224: ...
8 years ago (2012-11-29 21:51:43 UTC) #6
nduca
8 years ago (2012-11-29 21:55:42 UTC) #7
Ima land this.

Powered by Google App Engine
This is Rietveld 408576698