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

Issue 1137823002: Pass collected frame timing events to Blink (Closed)

Created:
5 years, 7 months ago by MikeB
Modified:
5 years, 6 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, piman+watch_chromium.org, sievers+watch_chromium.org, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass collected frame timing events to Blink Related Blink change: https://codereview.chromium.org/908453003/ Related cc change: https://codereview.chromium.org/914403003/ BUG=441552 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/ed24c2ca28e1f77957f63f6406f86a047a77b8b1 Cr-Commit-Position: refs/heads/master@{#333128}

Patch Set 1 #

Patch Set 2 : Send finishTime as well for Render events. #

Total comments: 8

Patch Set 3 : tuple is not available, switch to struct. #

Patch Set 4 : Some code review cleanup. #

Patch Set 5 : Import vmpstr's patch to plumb frame timing info without using a commit. #

Total comments: 4

Patch Set 6 : Code review comments. #

Total comments: 4

Patch Set 7 : Code review nits. #

Patch Set 8 : Missed a pure virtual function on one of the test-only classes. #

Patch Set 9 : Use full namespace. #

Patch Set 10 : Missed virtual function in android-only test. #

Patch Set 11 : Missed implementing virtual function on Android html_viewer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -19 lines) Patch
M cc/debug/frame_timing_tracker.h View 1 2 3 4 4 chunks +13 lines, -4 lines 0 comments Download
M cc/debug/frame_timing_tracker.cc View 1 2 3 4 5 chunks +24 lines, -3 lines 0 comments Download
M cc/debug/frame_timing_tracker_unittest.cc View 1 2 3 4 10 chunks +57 lines, -9 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl_client.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_client.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 2 chunks +8 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_no_message_loop.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M cc/trees/thread_proxy.h View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M cc/trees/thread_proxy.cc View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
M components/html_viewer/web_layer_tree_view_impl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 1 chunk +32 lines, -0 lines 0 comments Download
M content/test/web_layer_tree_view_impl_for_testing.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M ui/compositor/compositor.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (21 generated)
vmpstr
https://codereview.chromium.org/1137823002/diff/20001/cc/trees/thread_proxy.cc File cc/trees/thread_proxy.cc (right): https://codereview.chromium.org/1137823002/diff/20001/cc/trees/thread_proxy.cc#newcode803 cc/trees/thread_proxy.cc:803: begin_main_frame_state->frame_composite_counts.get()); Should we be passing ownership here instead? It's ...
5 years, 7 months ago (2015-05-12 23:48:26 UTC) #2
MikeB
https://codereview.chromium.org/1137823002/diff/20001/cc/trees/thread_proxy.cc File cc/trees/thread_proxy.cc (right): https://codereview.chromium.org/1137823002/diff/20001/cc/trees/thread_proxy.cc#newcode803 cc/trees/thread_proxy.cc:803: begin_main_frame_state->frame_composite_counts.get()); On 2015/05/12 23:48:25, vmpstr wrote: > Should we ...
5 years, 7 months ago (2015-05-21 21:53:08 UTC) #3
vmpstr
I wrote up this https://codereview.chromium.org/1152153003/ which looks a lot like what you have here, so ...
5 years, 7 months ago (2015-05-22 23:58:07 UTC) #4
MikeB
Merged in vmpstr's changes. I kept the actual communication with Blink in content/renderer/gpu/render_widget_compositor.cc but everything ...
5 years, 6 months ago (2015-06-01 22:48:31 UTC) #5
vmpstr
https://codereview.chromium.org/1137823002/diff/80001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/1137823002/diff/80001/content/renderer/gpu/render_widget_compositor.cc#newcode983 content/renderer/gpu/render_widget_compositor.cc:983: CompositeTimingEventToDouble); I kind of weakly prefer an explicit loop ...
5 years, 6 months ago (2015-06-02 17:40:09 UTC) #6
enne (OOO)
lgtm % vmpstr https://codereview.chromium.org/1137823002/diff/80001/cc/trees/thread_proxy.cc File cc/trees/thread_proxy.cc (right): https://codereview.chromium.org/1137823002/diff/80001/cc/trees/thread_proxy.cc#newcode1426 cc/trees/thread_proxy.cc:1426: void ThreadProxy::PostFrameTimingEvents( DCHECK(IsMainThread()) here?
5 years, 6 months ago (2015-06-02 18:13:38 UTC) #7
MikeB
https://codereview.chromium.org/1137823002/diff/80001/cc/trees/thread_proxy.cc File cc/trees/thread_proxy.cc (right): https://codereview.chromium.org/1137823002/diff/80001/cc/trees/thread_proxy.cc#newcode1426 cc/trees/thread_proxy.cc:1426: void ThreadProxy::PostFrameTimingEvents( On 2015/06/02 18:13:38, enne wrote: > DCHECK(IsMainThread()) ...
5 years, 6 months ago (2015-06-02 21:59:36 UTC) #8
vmpstr
lgtm % nits https://codereview.chromium.org/1137823002/diff/100001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/1137823002/diff/100001/content/renderer/gpu/render_widget_compositor.cc#newcode966 content/renderer/gpu/render_widget_compositor.cc:966: webEvents[i] = blink::WebFrameTimingEvent( nit: just create ...
5 years, 6 months ago (2015-06-02 22:05:19 UTC) #10
MikeB
https://codereview.chromium.org/1137823002/diff/100001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/1137823002/diff/100001/content/renderer/gpu/render_widget_compositor.cc#newcode966 content/renderer/gpu/render_widget_compositor.cc:966: webEvents[i] = blink::WebFrameTimingEvent( On 2015/06/02 22:05:19, vmpstr wrote: > ...
5 years, 6 months ago (2015-06-03 20:19:20 UTC) #11
vmpstr
(+danakj for owner's review)
5 years, 6 months ago (2015-06-03 21:49:38 UTC) #12
danakj
ui LGTM
5 years, 6 months ago (2015-06-03 21:50:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137823002/120001
5 years, 6 months ago (2015-06-04 16:57:16 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/44193)
5 years, 6 months ago (2015-06-04 17:13:46 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137823002/140001
5 years, 6 months ago (2015-06-04 17:35:11 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/68370)
5 years, 6 months ago (2015-06-04 17:44:10 UTC) #23
MikeB
+sky for content/test/web_layer_tree_view_impl_for_testing.h
5 years, 6 months ago (2015-06-04 17:55:38 UTC) #25
sky
LGTM
5 years, 6 months ago (2015-06-04 19:27:27 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137823002/140001
5 years, 6 months ago (2015-06-04 20:09:27 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/94801)
5 years, 6 months ago (2015-06-04 20:25:28 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137823002/160001
5 years, 6 months ago (2015-06-04 20:32:03 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137823002/180001
5 years, 6 months ago (2015-06-04 20:37:40 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/68461)
5 years, 6 months ago (2015-06-04 20:48:23 UTC) #38
MikeB
+sievers for compositor_impl_android.h
5 years, 6 months ago (2015-06-04 21:09:39 UTC) #40
no sievers
lgtm
5 years, 6 months ago (2015-06-04 22:51:25 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137823002/180001
5 years, 6 months ago (2015-06-04 23:10:43 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/94988)
5 years, 6 months ago (2015-06-04 23:26:25 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137823002/200001
5 years, 6 months ago (2015-06-05 19:48:52 UTC) #48
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 6 months ago (2015-06-05 20:57:24 UTC) #49
commit-bot: I haz the power
5 years, 6 months ago (2015-06-05 20:58:19 UTC) #50
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/ed24c2ca28e1f77957f63f6406f86a047a77b8b1
Cr-Commit-Position: refs/heads/master@{#333128}

Powered by Google App Engine
This is Rietveld 408576698