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

Issue 2341413002: New scroll latency metrics added for touch and wheel. (Closed)

Created:
4 years, 3 months ago by sahel
Modified:
4 years, 2 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, asvitkine+watch_chromium.org, dtapuska+chromiumwatch_chromium.org, tdresser+watch_chromium.org, dproy
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

New scroll latency metrics added for touch and wheel. The new latency metrics are calculated based on the difference between the first and last event time of the start and end componenets, respectively. They deprecate the old metrics that use the average event time of both components, and report the latency only for touch scrolls. BUG=622827 TEST=RenderWidgetHostLatencyTrackerTest.TouchTestHistograms, RenderWidgetHostLatencyTrackerTest.WheelTestHistograms Committed: https://crrev.com/e05ae5d2865b5c1095b552a39f4dbafa14a82e0d Cr-Commit-Position: refs/heads/master@{#423944}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Added comments for deprecation #

Total comments: 6

Patch Set 3 : use of getFactory to recompute the histogram names. #

Total comments: 1

Patch Set 4 : Use thread_name to compute _MAin, _Impl only once. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+423 lines, -60 lines) Patch
M content/browser/renderer_host/input/render_widget_host_latency_tracker.cc View 1 2 3 4 chunks +132 lines, -12 lines 0 comments Download
M content/browser/renderer_host/input/render_widget_host_latency_tracker_unittest.cc View 1 5 chunks +113 lines, -47 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 9 chunks +169 lines, -0 lines 0 comments Download
M ui/events/ipc/latency_info_param_traits_macros.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/latency_info.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/events/latency_info.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 40 (24 generated)
sahel
I didn't deprecate anything, yet. The histogram names are just rough names, for now.
4 years, 3 months ago (2016-09-17 02:10:26 UTC) #6
tdresser
+Deep and Lan to comment on names. I think these are probably reasonable, though we ...
4 years, 3 months ago (2016-09-23 14:28:39 UTC) #7
lanwei
On 2016/09/23 14:28:39, tdresser (OOO Sept 26-28) wrote: > +Deep and Lan to comment on ...
4 years, 3 months ago (2016-09-23 15:29:46 UTC) #8
tdresser
On 2016/09/23 15:29:46, lanwei wrote: > On 2016/09/23 14:28:39, tdresser (OOO Sept 26-28) wrote: > ...
4 years, 3 months ago (2016-09-23 15:47:37 UTC) #9
sahel
On 2016/09/23 15:47:37, tdresser (OOO Sept 26-28) wrote: > On 2016/09/23 15:29:46, lanwei wrote: > ...
4 years, 3 months ago (2016-09-23 16:08:57 UTC) #10
tdresser
On 2016/09/23 16:08:57, sahel wrote: > On 2016/09/23 15:47:37, tdresser (OOO Sept 26-28) wrote: > ...
4 years, 3 months ago (2016-09-23 16:57:25 UTC) #11
sahel
mkwst@chromium.org: Please review changes in ipc holte@chromium.org: Please review changes in Histograms.xml https://codereview.chromium.org/2341413002/diff/1/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc File content/browser/renderer_host/input/render_widget_host_latency_tracker.cc ...
4 years, 3 months ago (2016-09-23 20:48:24 UTC) #13
sahel
I don't remember if I've already published, or not. Since, I haven't got any feedback, ...
4 years, 2 months ago (2016-09-30 17:04:46 UTC) #18
tdresser
LGTM, thanks! https://codereview.chromium.org/2341413002/diff/20001/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc File content/browser/renderer_host/input/render_widget_host_latency_tracker.cc (right): https://codereview.chromium.org/2341413002/diff/20001/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc#newcode265 content/browser/renderer_host/input/render_widget_host_latency_tracker.cc:265: // created to when the scroll gesture ...
4 years, 2 months ago (2016-09-30 17:16:38 UTC) #21
nasko
IPC LGTM
4 years, 2 months ago (2016-09-30 20:24:21 UTC) #22
Steven Holte
https://codereview.chromium.org/2341413002/diff/20001/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc File content/browser/renderer_host/input/render_widget_host_latency_tracker.cc (right): https://codereview.chromium.org/2341413002/diff/20001/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc#newcode306 content/browser/renderer_host/input/render_widget_host_latency_tracker.cc:306: "Event.Latency.ScrollUpdate." + event_type_name + Computing names like this doesn't ...
4 years, 2 months ago (2016-09-30 22:10:05 UTC) #23
sahel
https://codereview.chromium.org/2341413002/diff/20001/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc File content/browser/renderer_host/input/render_widget_host_latency_tracker.cc (right): https://codereview.chromium.org/2341413002/diff/20001/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc#newcode265 content/browser/renderer_host/input/render_widget_host_latency_tracker.cc:265: // created to when the scroll gesture results in ...
4 years, 2 months ago (2016-10-04 14:22:26 UTC) #28
Steven Holte
histograms lgtm https://codereview.chromium.org/2341413002/diff/40001/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc File content/browser/renderer_host/input/render_widget_host_latency_tracker.cc (right): https://codereview.chromium.org/2341413002/diff/40001/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc#newcode291 content/browser/renderer_host/input/render_widget_host_latency_tracker.cc:291: ".TimeToHandled2_Main", Optional: since you are computing these ...
4 years, 2 months ago (2016-10-04 22:43:40 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2341413002/60001
4 years, 2 months ago (2016-10-07 19:48:58 UTC) #36
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-07 19:55:09 UTC) #38
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 19:59:27 UTC) #40
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e05ae5d2865b5c1095b552a39f4dbafa14a82e0d
Cr-Commit-Position: refs/heads/master@{#423944}

Powered by Google App Engine
This is Rietveld 408576698