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

Issue 1432463002: cc: Track BeginMainFrame more precisely in CompositorTimingHistory. (Closed)

Created:
5 years, 1 month ago by brianderson
Modified:
5 years, 1 month ago
CC:
chromium-reviews, cc-bugs_chromium.org, scheduler-bugs_chromium.org, alex clarke (OOO till 29th), Sami, David Trainor- moved to gerrit
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Track BeginMainFrame more precisely CompositorTimingHistory. This tracks and estimates the following: BeginMainFrameQueueDurationCritical BeginMainFrameQueueDurationNotCritical BeginMainFrameStartToCommitDuration The above is a breakdown of the older BeginMainFrameToCommitDurationEstimate and is intended to replace it. Tracking the above separately will help make better decisions regarding whether we should wait for the main thread or not and also give us better UMA data regarding main thread responsiveness when the on_critical_path flag is set vs. not. BUG=469953 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/21aef16e0d6f1aae6fe9632be90206211b9a3bc5 Cr-Commit-Position: refs/heads/master@{#359055}

Patch Set 1 #

Patch Set 2 : Fixed unit tests. New tests to be added. #

Total comments: 3

Patch Set 3 : add tests; no over/under; update histograms.xml #

Patch Set 4 : rebase #

Patch Set 5 : mus #

Total comments: 2

Patch Set 6 : isherman's review #

Total comments: 1

Patch Set 7 : rebase; fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+378 lines, -90 lines) Patch
M cc/scheduler/compositor_timing_history.h View 1 2 3 chunks +16 lines, -2 lines 0 comments Download
M cc/scheduler/compositor_timing_history.cc View 1 2 11 chunks +154 lines, -13 lines 0 comments Download
M cc/scheduler/compositor_timing_history_unittest.cc View 1 2 6 chunks +41 lines, -11 lines 0 comments Download
M cc/scheduler/scheduler.h View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M cc/scheduler/scheduler.cc View 1 2 3 3 chunks +7 lines, -2 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M cc/scheduler/scheduler_state_machine_unittest.cc View 1 3 chunks +3 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 2 3 40 chunks +40 lines, -40 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M cc/trees/channel_main.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M cc/trees/proxy_impl.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M cc/trees/thread_proxy.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M cc/trees/thread_proxy.cc View 1 2 3 9 chunks +16 lines, -6 lines 0 comments Download
M cc/trees/threaded_channel.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M cc/trees/threaded_channel.cc View 1 2 3 2 chunks +8 lines, -3 lines 0 comments Download
M components/mus/surfaces/surfaces_scheduler.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 3 chunks +56 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (7 generated)
brianderson
Ptal. I still need to add tests for the new methods, but all existing tests ...
5 years, 1 month ago (2015-11-05 02:49:40 UTC) #3
brianderson
+tdresser as fyi
5 years, 1 month ago (2015-11-05 02:52:53 UTC) #4
tdresser
On 2015/11/05 02:52:53, brianderson wrote: > +tdresser as fyi I'd consider leaving the existing UMAs ...
5 years, 1 month ago (2015-11-05 13:51:56 UTC) #5
Sami
If we truly never care about the existing over/underestimated UMA then IMO we shouldn't bother ...
5 years, 1 month ago (2015-11-05 14:42:36 UTC) #7
brianderson
+isherman for owners review of histograms.xml CompositorTimingHistory tests have been modified to test the new ...
5 years, 1 month ago (2015-11-05 21:27:57 UTC) #9
brianderson
https://codereview.chromium.org/1432463002/diff/20001/cc/scheduler/scheduler.h File cc/scheduler/scheduler.h (right): https://codereview.chromium.org/1432463002/diff/20001/cc/scheduler/scheduler.h#newcode131 cc/scheduler/scheduler.h:131: // and statistics puposes. On 2015/11/05 14:42:36, Sami wrote: ...
5 years, 1 month ago (2015-11-05 21:33:26 UTC) #10
Ilya Sherman
histograms.xml lgtm % nit: https://codereview.chromium.org/1432463002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1432463002/diff/80001/tools/metrics/histograms/histograms.xml#newcode40677 tools/metrics/histograms/histograms.xml:40677: + set. nit: It seems ...
5 years, 1 month ago (2015-11-06 01:05:56 UTC) #11
brianderson
+fsaumuel for mus. https://codereview.chromium.org/1432463002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1432463002/diff/80001/tools/metrics/histograms/histograms.xml#newcode40677 tools/metrics/histograms/histograms.xml:40677: + set. On 2015/11/06 01:05:56, Ilya ...
5 years, 1 month ago (2015-11-06 02:07:59 UTC) #13
Fady Samuel
MUS lgtm
5 years, 1 month ago (2015-11-06 03:04:35 UTC) #14
Sami
cc/ lgtm. I was trying to think of a way to avoid having to ferry ...
5 years, 1 month ago (2015-11-06 11:27:50 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432463002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432463002/120001
5 years, 1 month ago (2015-11-11 03:33:07 UTC) #18
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 1 month ago (2015-11-11 05:12:31 UTC) #19
commit-bot: I haz the power
5 years, 1 month ago (2015-11-11 05:13:37 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/21aef16e0d6f1aae6fe9632be90206211b9a3bc5
Cr-Commit-Position: refs/heads/master@{#359055}

Powered by Google App Engine
This is Rietveld 408576698