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

Issue 1460923002: cc: CompositorTimingHistory throughput UMAs (Closed)

Created:
5 years, 1 month ago by brianderson
Modified:
5 years ago
CC:
chromium-reviews, cc-bugs_chromium.org, scheduler-bugs_chromium.org, mithro-old, benjhayden
Base URL:
https://chromium.googlesource.com/chromium/src.git@didDraw
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: CompositorTimingHistory throughput UMAs This adds the following metrics: 1) BeginMainFrameIntervalCritical: Commit rate, aborted or not, with the critical flag set. 2) BeginMainFrameIntervalNotCritical: Commit rate, aborted or not, without the critical flag set. 2) CommitInterval: Draw rate of new active trees. 3) DrawInterval: Draw rate of the compositor. Each metric is only reported when that stage is in a continually active state. BUG=477012 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/d32468dc9c5427126d519ac320167ffe77ecb7da Cr-Commit-Position: refs/heads/master@{#361743}

Patch Set 1 #

Total comments: 2

Patch Set 2 : update names; critical/not critical; #

Patch Set 3 : histograms.xml; internal name changes #

Patch Set 4 : rebase on latest DidDraw patch #

Patch Set 5 : Support setInterval(17) #

Patch Set 6 : Remove debug TRACE_EVENTS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+272 lines, -36 lines) Patch
M cc/scheduler/compositor_timing_history.h View 1 2 3 4 3 chunks +23 lines, -5 lines 0 comments Download
M cc/scheduler/compositor_timing_history.cc View 1 2 3 4 5 12 chunks +167 lines, -23 lines 0 comments Download
M cc/scheduler/compositor_timing_history_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/scheduler/scheduler.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/scheduler/scheduler.cc View 1 2 3 4 5 chunks +24 lines, -5 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 4 chunks +55 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (12 generated)
brianderson
What do y'all think about adding throughput metrics like this based on timestamps we are ...
5 years, 1 month ago (2015-11-19 00:32:44 UTC) #2
Sami
Tracking something like this seems useful to me. Just to make sure I understand: Scheduling.Renderer.CommitInterval ...
5 years, 1 month ago (2015-11-19 15:37:40 UTC) #3
brianderson
On 2015/11/19 15:37:40, Sami wrote: > Tracking something like this seems useful to me. Just ...
5 years, 1 month ago (2015-11-19 19:37:57 UTC) #4
brianderson
https://codereview.chromium.org/1460923002/diff/1/cc/scheduler/scheduler_state_machine.h File cc/scheduler/scheduler_state_machine.h (right): https://codereview.chromium.org/1460923002/diff/1/cc/scheduler/scheduler_state_machine.h#newcode104 cc/scheduler/scheduler_state_machine.h:104: bool NewActiveTreeLikely() const { On 2015/11/19 15:37:40, Sami wrote: ...
5 years, 1 month ago (2015-11-19 19:38:03 UTC) #5
brianderson
Updated the names and also split the first one into critical/not critical.
5 years, 1 month ago (2015-11-20 02:13:36 UTC) #6
Sami
lgtm, the new names make this easier to grok.
5 years, 1 month ago (2015-11-20 18:34:13 UTC) #7
brianderson
+isherman for owner's review of histograms.xml. Note: Since Sami's stamp, I changed the naming of ...
5 years, 1 month ago (2015-11-20 22:58:59 UTC) #9
Ilya Sherman
histograms lgtm
5 years, 1 month ago (2015-11-20 23:41:51 UTC) #10
brianderson
+benjhaden as fyi.
5 years, 1 month ago (2015-11-21 00:49:29 UTC) #11
brianderson
Made a small change that helps detect that the main thread is active for cases ...
5 years ago (2015-11-25 19:02:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1460923002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1460923002/80001
5 years ago (2015-11-25 19:04:57 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1460923002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1460923002/100001
5 years ago (2015-11-25 19:10:29 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years ago (2015-11-25 22:09:04 UTC) #24
commit-bot: I haz the power
5 years ago (2015-11-25 22:10:53 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d32468dc9c5427126d519ac320167ffe77ecb7da
Cr-Commit-Position: refs/heads/master@{#361743}

Powered by Google App Engine
This is Rietveld 408576698