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

Issue 833283003: Reland "Add new latency_info for tracking browser composite time." (Closed)

Created:
5 years, 11 months ago by jdduke (slow)
Modified:
5 years, 11 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, tdresser+watch_chromium.org, jam, penghuang+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, James Su, jdduke+watch_chromium.org, sunnyps
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland "Add new latency_info for tracking browser composite time." This change originally landed in crrev.com/577273003, but was reverted in crrev.com/750093009 due to poor scrolling performance during browser-composited animations. The issue has since been resolved, so reland the change with some minor refactoring. BUG=437603, 437932 Committed: https://crrev.com/83083a322a41d8de740442530d4ba9a7bb7cf0cc Cr-Commit-Position: refs/heads/master@{#310193}

Patch Set 1 #

Patch Set 2 : Use range for #

Patch Set 3 : Fix comments #

Total comments: 2

Patch Set 4 : Move to RWHLatencyTracker #

Total comments: 5

Patch Set 5 : Rename component #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -9 lines) Patch
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_latency_tracker.h View 1 2 3 3 chunks +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_latency_tracker.cc View 1 2 3 4 4 chunks +38 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 chunk +2 lines, -6 lines 0 comments Download
M content/common/gpu/image_transport_surface.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ui/events/latency_info.h View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M ui/events/latency_info.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
jdduke (slow)
brianderson@: PTAL. There was one small revert conflict (due to LatencyInfo sizing), easily resolved.
5 years, 11 months ago (2015-01-05 23:07:12 UTC) #1
brianderson
lgtm +sievers
5 years, 11 months ago (2015-01-05 23:19:56 UTC) #3
brianderson
+miletus too
5 years, 11 months ago (2015-01-05 23:20:55 UTC) #5
jdduke (slow)
Changed the for loops to range for (because fun), and changed the TODO to mention ...
5 years, 11 months ago (2015-01-05 23:24:53 UTC) #6
Yufeng Shen (Slow to review)
On 2015/01/05 23:24:53, jdduke wrote: > Changed the for loops to range for (because fun), ...
5 years, 11 months ago (2015-01-06 00:31:28 UTC) #7
Sami
lgtm https://codereview.chromium.org/833283003/diff/40001/cc/base/rolling_time_delta_history.h File cc/base/rolling_time_delta_history.h (right): https://codereview.chromium.org/833283003/diff/40001/cc/base/rolling_time_delta_history.h#newcode26 cc/base/rolling_time_delta_history.h:26: size_t SampleCount(); drive-by nit: const
5 years, 11 months ago (2015-01-06 12:21:40 UTC) #9
jdduke (slow)
https://codereview.chromium.org/833283003/diff/40001/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://codereview.chromium.org/833283003/diff/40001/content/browser/renderer_host/compositor_impl_android.cc#newcode86 content/browser/renderer_host/compositor_impl_android.cc:86: ui::INPUT_EVENT_BROWSER_SWAP_BUFFER_COMPONENT, 0, 0); Hmm, I actually don't see this ...
5 years, 11 months ago (2015-01-06 16:01:43 UTC) #10
jdduke (slow)
I got rid of INPUT_EVENT_BROWSER_SWAP_BUFFER_COMPONENT because it's unused, and moved the additional latency-related logic from ...
5 years, 11 months ago (2015-01-06 20:09:18 UTC) #11
no sievers
lgtm https://codereview.chromium.org/833283003/diff/60001/cc/base/rolling_time_delta_history.h File cc/base/rolling_time_delta_history.h (right): https://codereview.chromium.org/833283003/diff/60001/cc/base/rolling_time_delta_history.h#newcode26 cc/base/rolling_time_delta_history.h:26: size_t SampleCount(); nit: const or actually... this looks ...
5 years, 11 months ago (2015-01-06 22:28:46 UTC) #12
jdduke (slow)
https://codereview.chromium.org/833283003/diff/60001/cc/base/rolling_time_delta_history.h File cc/base/rolling_time_delta_history.h (right): https://codereview.chromium.org/833283003/diff/60001/cc/base/rolling_time_delta_history.h#newcode26 cc/base/rolling_time_delta_history.h:26: size_t SampleCount(); On 2015/01/06 22:28:46, sievers wrote: > nit: ...
5 years, 11 months ago (2015-01-06 23:13:14 UTC) #13
brianderson
https://codereview.chromium.org/833283003/diff/60001/content/browser/renderer_host/render_widget_host_latency_tracker.cc File content/browser/renderer_host/render_widget_host_latency_tracker.cc (right): https://codereview.chromium.org/833283003/diff/60001/content/browser/renderer_host/render_widget_host_latency_tracker.cc#newcode268 content/browser/renderer_host/render_widget_host_latency_tracker.cc:268: latency.AddLatencyNumber(ui::INPUT_EVENT_BROWSER_COMPOSITE_COMPONENT, 0, 0); On 2015/01/06 23:13:14, jdduke wrote: > ...
5 years, 11 months ago (2015-01-06 23:35:13 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/833283003/80001
5 years, 11 months ago (2015-01-06 23:47:15 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 11 months ago (2015-01-07 00:42:09 UTC) #17
commit-bot: I haz the power
5 years, 11 months ago (2015-01-07 00:43:53 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/83083a322a41d8de740442530d4ba9a7bb7cf0cc
Cr-Commit-Position: refs/heads/master@{#310193}

Powered by Google App Engine
This is Rietveld 408576698