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

Issue 298723013: cc: Add invalidation micro benchmark. (Closed)

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

Description

cc: Add invalidation micro benchmark. This micro benchmark will used in a follow-up patch to generate various kinds of invalidations (viewport, random, full layer) from the telemetry repaint benchmark. R=vmpstr@chromium.org BUG=376379 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274065

Patch Set 1 #

Total comments: 2

Patch Set 2 : RNG with local state, comments, enum. #

Total comments: 6

Patch Set 3 : Add missing cast to float. #

Patch Set 4 : Merge LOG(ERROR) into CHECK. #

Total comments: 2

Patch Set 5 : Remove default #

Patch Set 6 : Add ProcessMessage #

Patch Set 7 : SendMessage -> ProcessMessage #

Patch Set 8 : Add fixed_size mode. #

Total comments: 4

Patch Set 9 : Sample such that regions don't get clipped. #

Total comments: 2

Patch Set 10 : Remove redundant clipping. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -1 line) Patch
M cc/cc.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A cc/debug/invalidation_benchmark.h View 1 2 3 4 5 6 7 1 chunk +45 lines, -0 lines 0 comments Download
A cc/debug/invalidation_benchmark.cc View 1 2 3 4 5 6 7 8 9 1 chunk +139 lines, -0 lines 0 comments Download
M cc/debug/micro_benchmark_controller.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
ernstm
PTAL
6 years, 7 months ago (2014-05-22 22:49:18 UTC) #1
vmpstr
From my understanding this is just an action right? Like it doesn't do any measurements, ...
6 years, 6 months ago (2014-05-27 18:29:22 UTC) #2
ernstm
On 2014/05/27 18:29:22, vmpstr wrote: > From my understanding this is just an action right? ...
6 years, 6 months ago (2014-05-27 18:35:47 UTC) #3
vmpstr
On 2014/05/27 18:35:47, ernstm wrote: > On 2014/05/27 18:29:22, vmpstr wrote: > > From my ...
6 years, 6 months ago (2014-05-27 18:45:39 UTC) #4
ernstm
Updated version with: - enum instead of string - comment explaining how this is used ...
6 years, 6 months ago (2014-05-27 21:17:07 UTC) #5
vmpstr
Thanks for the comments! https://codereview.chromium.org/298723013/diff/20001/cc/debug/invalidation_benchmark.cc File cc/debug/invalidation_benchmark.cc (right): https://codereview.chromium.org/298723013/diff/20001/cc/debug/invalidation_benchmark.cc#newcode48 cc/debug/invalidation_benchmark.cc:48: LOG(ERROR) << "Invalid mode: " ...
6 years, 6 months ago (2014-05-27 21:24:20 UTC) #6
ernstm
https://codereview.chromium.org/298723013/diff/20001/cc/debug/invalidation_benchmark.cc File cc/debug/invalidation_benchmark.cc (right): https://codereview.chromium.org/298723013/diff/20001/cc/debug/invalidation_benchmark.cc#newcode48 cc/debug/invalidation_benchmark.cc:48: LOG(ERROR) << "Invalid mode: " << mode_string On 2014/05/27 ...
6 years, 6 months ago (2014-05-27 21:34:46 UTC) #7
vmpstr
lgtm https://codereview.chromium.org/298723013/diff/50001/cc/debug/invalidation_benchmark.cc File cc/debug/invalidation_benchmark.cc (right): https://codereview.chromium.org/298723013/diff/50001/cc/debug/invalidation_benchmark.cc#newcode91 cc/debug/invalidation_benchmark.cc:91: default: nit: you can remove the default, so ...
6 years, 6 months ago (2014-05-27 21:54:18 UTC) #8
ernstm
https://codereview.chromium.org/298723013/diff/50001/cc/debug/invalidation_benchmark.cc File cc/debug/invalidation_benchmark.cc (right): https://codereview.chromium.org/298723013/diff/50001/cc/debug/invalidation_benchmark.cc#newcode91 cc/debug/invalidation_benchmark.cc:91: default: On 2014/05/27 21:54:18, vmpstr wrote: > nit: you ...
6 years, 6 months ago (2014-05-27 21:57:11 UTC) #9
ernstm
The CQ bit was checked by ernstm@chromium.org
6 years, 6 months ago (2014-05-27 21:57:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ernstm@chromium.org/298723013/70001
6 years, 6 months ago (2014-05-27 21:58:29 UTC) #11
ernstm
The CQ bit was unchecked by ernstm@chromium.org
6 years, 6 months ago (2014-05-27 22:23:21 UTC) #12
vmpstr
https://codereview.chromium.org/298723013/diff/130001/cc/debug/invalidation_benchmark.cc File cc/debug/invalidation_benchmark.cc (right): https://codereview.chromium.org/298723013/diff/130001/cc/debug/invalidation_benchmark.cc#newcode57 cc/debug/invalidation_benchmark.cc:57: << ". One of {layer, viewport, random} expected."; Update ...
6 years, 6 months ago (2014-05-30 18:50:43 UTC) #13
ernstm
https://codereview.chromium.org/298723013/diff/130001/cc/debug/invalidation_benchmark.cc File cc/debug/invalidation_benchmark.cc (right): https://codereview.chromium.org/298723013/diff/130001/cc/debug/invalidation_benchmark.cc#newcode57 cc/debug/invalidation_benchmark.cc:57: << ". One of {layer, viewport, random} expected."; On ...
6 years, 6 months ago (2014-05-30 19:57:16 UTC) #14
vmpstr
lgtm https://codereview.chromium.org/298723013/diff/140001/cc/debug/invalidation_benchmark.cc File cc/debug/invalidation_benchmark.cc (right): https://codereview.chromium.org/298723013/diff/140001/cc/debug/invalidation_benchmark.cc#newcode83 cc/debug/invalidation_benchmark.cc:83: invalidation_rect.Intersect(visible_content_rect); nit: this might be reduntant
6 years, 6 months ago (2014-05-30 20:27:25 UTC) #15
ernstm
https://codereview.chromium.org/298723013/diff/140001/cc/debug/invalidation_benchmark.cc File cc/debug/invalidation_benchmark.cc (right): https://codereview.chromium.org/298723013/diff/140001/cc/debug/invalidation_benchmark.cc#newcode83 cc/debug/invalidation_benchmark.cc:83: invalidation_rect.Intersect(visible_content_rect); On 2014/05/30 20:27:26, vmpstr wrote: > nit: this ...
6 years, 6 months ago (2014-05-30 21:44:45 UTC) #16
ernstm
The CQ bit was checked by ernstm@chromium.org
6 years, 6 months ago (2014-05-30 21:45:05 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ernstm@chromium.org/298723013/160001
6 years, 6 months ago (2014-05-30 21:49:49 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-05-31 03:06:21 UTC) #19
commit-bot: I haz the power
6 years, 6 months ago (2014-05-31 22:17:20 UTC) #20
Message was sent while issue was closed.
Change committed as 274065

Powered by Google App Engine
This is Rietveld 408576698