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

Issue 10982078: Adding hooks for gathering total pixels painted and rasterized stats. (Closed)

Created:
8 years, 2 months ago by hartmanng
Modified:
8 years, 1 month ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, jam, apatrick_chromium, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, cc-bugs_chromium.org, Ian Vollick
Visibility:
Public.

Description

Adding hooks for gathering total pixels painted and rasterized stats. Blocked on: https://bugs.webkit.org/show_bug.cgi?id=98269 BUG=156087 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166911

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Rebase #

Total comments: 10

Patch Set 5 : #

Total comments: 8

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Total comments: 4

Patch Set 9 : #

Total comments: 2

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -27 lines) Patch
M cc/bitmap_content_layer_updater.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
M cc/bitmap_skpicture_content_layer_updater.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M cc/content_layer_updater.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cc/rendering_stats.h View 1 2 3 4 5 6 1 chunk +13 lines, -19 lines 0 comments Download
A cc/rendering_stats.cc View 1 2 3 4 5 6 7 8 1 chunk +23 lines, -0 lines 0 comments Download
M content/renderer/gpu/gpu_benchmarking_extension.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 9 4 chunks +42 lines, -8 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
hartmanng
Please take a look.
8 years, 2 months ago (2012-10-03 15:09:23 UTC) #1
jamesr1
If you put the paint metrics in ContentLayerChromium you would only have to instrument one ...
8 years, 2 months ago (2012-10-04 02:09:01 UTC) #2
brianderson
https://codereview.chromium.org/10982078/diff/2001/cc/CCRenderingStats.h File cc/CCRenderingStats.h (right): https://codereview.chromium.org/10982078/diff/2001/cc/CCRenderingStats.h#newcode19 cc/CCRenderingStats.h:19: size_t totalPixelsPainted; Can you change these to int64_t, so ...
8 years, 2 months ago (2012-10-05 23:51:55 UTC) #3
hartmanng
On 2012/10/04 02:09:01, jamesr1 wrote: > If you put the paint metrics in ContentLayerChromium you ...
8 years, 2 months ago (2012-10-16 17:05:46 UTC) #4
danakj
https://chromiumcodereview.appspot.com/10982078/diff/15001/cc/rendering_stats.cc File cc/rendering_stats.cc (right): https://chromiumcodereview.appspot.com/10982078/diff/15001/cc/rendering_stats.cc#newcode20 cc/rendering_stats.cc:20: } style nit: }<space><space>// namespace cc
8 years, 2 months ago (2012-10-16 17:20:07 UTC) #5
hartmanng
This patch had become a bit stale, so I rebased it, please take another look. ...
8 years, 2 months ago (2012-10-24 21:07:00 UTC) #6
jamesr
I think you should ask someone in your office to help guide you through the ...
8 years, 1 month ago (2012-10-29 23:38:48 UTC) #7
Ian Vollick
Thanks for switching everything to int64. I have just a few nits. https://chromiumcodereview.appspot.com/10982078/diff/42002/cc/rendering_stats.cc File cc/rendering_stats.cc ...
8 years, 1 month ago (2012-10-30 19:58:36 UTC) #8
danakj
https://chromiumcodereview.appspot.com/10982078/diff/42002/cc/rendering_stats.cc File cc/rendering_stats.cc (right): https://chromiumcodereview.appspot.com/10982078/diff/42002/cc/rendering_stats.cc#newcode24 cc/rendering_stats.cc:24: } On 2012/10/30 19:58:37, vollick wrote: > I think ...
8 years, 1 month ago (2012-10-30 20:01:25 UTC) #9
hartmanng
jamesr: I think this is better, PTAL https://chromiumcodereview.appspot.com/10982078/diff/23001/cc/rendering_stats.cc File cc/rendering_stats.cc (right): https://chromiumcodereview.appspot.com/10982078/diff/23001/cc/rendering_stats.cc#newcode1 cc/rendering_stats.cc:1: #include "config.h" ...
8 years, 1 month ago (2012-10-30 20:10:51 UTC) #10
jamesr
You've left out the framebuffer-backed SkPicture path - there pixels are GPU-rasterized, so I'm not ...
8 years, 1 month ago (2012-10-30 21:40:44 UTC) #11
hartmanng
On 2012/10/30 21:40:44, jamesr wrote: > You've left out the framebuffer-backed SkPicture path - there ...
8 years, 1 month ago (2012-10-31 16:56:07 UTC) #12
nduca
I'm fine ignoring the framebuffer path. Its not long for this world anyway. http://codereview.chromium.org/10982078/diff/35002/content/renderer/render_widget.cc File ...
8 years, 1 month ago (2012-11-06 04:18:23 UTC) #13
nduca
That looks about right https://codereview.chromium.org/10982078/diff/56001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/10982078/diff/56001/content/renderer/render_widget.cc#newcode670 content/renderer/render_widget.cc:670: base::TimeTicks rasterize_begin_ticks = base::TimeTicks::Now(); HighResNow
8 years, 1 month ago (2012-11-06 21:30:53 UTC) #14
hartmanng
Please take another look, jamesr https://codereview.chromium.org/10982078/diff/35002/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/10982078/diff/35002/content/renderer/render_widget.cc#newcode1891 content/renderer/render_widget.cc:1891: stats.totalPixelsRasterized += software_stats_.totalPixelsRasterized; On ...
8 years, 1 month ago (2012-11-06 21:53:16 UTC) #15
nduca
lgtm but you'll need OWNERS on content/renderer http://codereview.chromium.org/10982078/diff/60001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): http://codereview.chromium.org/10982078/diff/60001/content/renderer/render_widget.cc#newcode669 content/renderer/render_widget.cc:669: I wouldn't ...
8 years, 1 month ago (2012-11-07 04:24:42 UTC) #16
jamesr
going to HighResNow() on these means taking a mutex (on each call) on systems without ...
8 years, 1 month ago (2012-11-07 06:11:20 UTC) #17
nduca
We should make sure the HighResNow is only called with the benchmarking extension present. Looks ...
8 years, 1 month ago (2012-11-07 07:42:58 UTC) #18
hartmanng
On 2012/11/07 07:42:58, nduca wrote: > We should make sure the HighResNow is only called ...
8 years, 1 month ago (2012-11-07 14:45:02 UTC) #19
jamesr
lgtm. Have one style suggestion, but you don't need to go another review round. http://codereview.chromium.org/10982078/diff/53002/content/renderer/render_widget.cc ...
8 years, 1 month ago (2012-11-08 23:33:12 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/10982078/60002
8 years, 1 month ago (2012-11-09 14:05:41 UTC) #21
hartmanng
On 2012/11/08 23:33:12, jamesr wrote: > lgtm. Have one style suggestion, but you don't need ...
8 years, 1 month ago (2012-11-09 14:07:10 UTC) #22
commit-bot: I haz the power
8 years, 1 month ago (2012-11-09 15:58:46 UTC) #23
Change committed as 166911

Powered by Google App Engine
This is Rietveld 408576698