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

Issue 2268163002: Add sub-metrics for Event.Latency.TouchToFirstScrollUpdateSwapBegin (Closed)

Created:
4 years, 4 months ago by lanwei
Modified:
4 years ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, asvitkine+watch_chromium.org, dtapuska+chromiumwatch_chromium.org, tdresser+watch_chromium.org, dproy
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add sub-metrics for Event.Latency.TouchToFirstScrollUpdateSwapBegin. We defined a set of sub-metrics to measure the latencies inside Event.Latency.TouchToScrollUpdateSwapBegin to help us better understand the time spent on each stage during scroll. Now we will add the same set of sub-metrics to Event.Latency.TouchToFirstScrollUpdateSwapBegin. The details are in this doc: https://docs.google.com/document/d/1EPKT652e2PcO1ysA7LQosGyyr1xmxbtiiiivNU3lnpQ/edit#heading=h.r6af7ldx7kcw. BUG=616482 Committed: https://crrev.com/eb43b09f06395377e66c684522d76ec002563fb0 Cr-Commit-Position: refs/heads/master@{#434682}

Patch Set 1 #

Total comments: 4

Patch Set 2 : git cl try #

Total comments: 9

Patch Set 3 : submetric #

Patch Set 4 : submetric #

Patch Set 5 : Create a new macro without cache #

Patch Set 6 : Add flag in the macro #

Total comments: 2

Patch Set 7 : submetric #

Patch Set 8 : submetric #

Total comments: 1

Patch Set 9 : submetric #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+386 lines, -25 lines) Patch
M content/browser/renderer_host/input/render_widget_host_latency_tracker.cc View 1 2 3 4 5 6 7 4 chunks +10 lines, -7 lines 0 comments Download
M content/browser/renderer_host/input/render_widget_host_latency_tracker_unittest.cc View 1 2 3 4 5 6 7 9 chunks +229 lines, -9 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 3 chunks +136 lines, -0 lines 0 comments Download
M ui/events/latency_info.dot View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -9 lines 3 comments Download

Messages

Total messages: 100 (75 generated)
lanwei
4 years, 3 months ago (2016-08-23 13:42:41 UTC) #9
tdresser
Can you update https://docs.google.com/document/d/1EPKT652e2PcO1ysA7LQosGyyr1xmxbtiiiivNU3lnpQ/edit#heading=h.r6af7ldx7kcw with the new image generated from that dot file? https://codereview.chromium.org/2268163002/diff/1/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc File ...
4 years, 3 months ago (2016-08-23 13:57:00 UTC) #12
lanwei
I will update the graphic if you think the metric names are ok, should I ...
4 years, 3 months ago (2016-08-24 03:08:28 UTC) #17
tdresser
+dproy as FYI Metric names look great. Can you change the owner for these metrics ...
4 years, 3 months ago (2016-08-24 12:48:57 UTC) #18
tdresser
https://codereview.chromium.org/2268163002/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/2268163002/diff/20001/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc#newcode196 content/browser/renderer_host/input/render_widget_host_latency_tracker.cc:196: ComputeFirstScrollLatencyHistograms( On 2016/08/24 12:48:57, tdresser wrote: > Could we ...
4 years, 3 months ago (2016-08-24 12:51:39 UTC) #19
lanwei
https://codereview.chromium.org/2268163002/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/2268163002/diff/20001/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc#newcode196 content/browser/renderer_host/input/render_widget_host_latency_tracker.cc:196: ComputeFirstScrollLatencyHistograms( On 2016/08/24 12:48:57, tdresser wrote: > Could we ...
4 years, 3 months ago (2016-08-25 04:17:11 UTC) #25
tdresser
+asvitkine@ to comment on instantiating multiple similar histograms without massive code duplication. asvitkine@ is OOO ...
4 years, 3 months ago (2016-08-25 13:31:05 UTC) #29
Alexei Svitkine (slow)
On 2016/08/25 13:31:05, tdresser wrote: > +asvitkine@ to comment on instantiating multiple similar histograms without ...
4 years, 3 months ago (2016-08-29 20:18:04 UTC) #30
lanwei
The patch 5 and 6 both work, but different approaches. Could you please take a ...
4 years, 3 months ago (2016-09-06 21:54:23 UTC) #54
tdresser
I think the approach which doesn't need to find all the latency info components twice ...
4 years, 3 months ago (2016-09-07 13:46:42 UTC) #55
Alexei Svitkine (slow)
patchset 6 lgtm
4 years, 3 months ago (2016-09-07 19:25:30 UTC) #56
lanwei
Could you please take a look at patch 6, thanks?
4 years, 3 months ago (2016-09-07 19:42:17 UTC) #58
tdresser
Can you update the diagram in the doc (https://docs.google.com/document/d/1EPKT652e2PcO1ysA7LQosGyyr1xmxbtiiiivNU3lnpQ/edit#heading=h.r6af7ldx7kcw)? https://codereview.chromium.org/2268163002/diff/220001/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/2268163002/diff/220001/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc#newcode78 content/browser/renderer_host/input/render_widget_host_latency_tracker.cc:78: ...
4 years, 3 months ago (2016-09-08 15:17:25 UTC) #60
lanwei
4 years, 1 month ago (2016-11-18 20:10:07 UTC) #71
tdresser
+sahel@ for thoughts on histogram naming. Unfortunately, the histogram names here are out of date ...
4 years ago (2016-11-23 16:27:42 UTC) #74
sahel
On 2016/11/23 16:27:42, tdresser wrote: > +sahel@ for thoughts on histogram naming. > > Unfortunately, ...
4 years ago (2016-11-23 18:55:40 UTC) #75
lanwei
4 years ago (2016-11-24 02:03:27 UTC) #81
tdresser
Awesome - I just want to take a look at the diagram, but the code ...
4 years ago (2016-11-24 14:56:05 UTC) #84
lanwei
Tim, I use * for ScrollBegin/ScrollUpdate and Touch/Wheel, but now it is just for Touch/Wheel, ...
4 years ago (2016-11-24 18:14:54 UTC) #89
tdresser
https://codereview.chromium.org/2268163002/diff/340001/ui/events/latency_info.dot File ui/events/latency_info.dot (right): https://codereview.chromium.org/2268163002/diff/340001/ui/events/latency_info.dot#newcode33 ui/events/latency_info.dot:33: INPUT_EVENT_LATENCY_SCROLL_UPDATE_ORIGINAL_COMPONENT -> INPUT_EVENT_LATENCY_RENDERING_SCHEDULED_IMPL_COMPONENT [label="Event.Latency.ScrollUpdate.*.TimeToHandled2_Impl"]; This is still inconsistent, right? ...
4 years ago (2016-11-24 19:16:16 UTC) #90
lanwei
https://codereview.chromium.org/2268163002/diff/340001/ui/events/latency_info.dot File ui/events/latency_info.dot (right): https://codereview.chromium.org/2268163002/diff/340001/ui/events/latency_info.dot#newcode33 ui/events/latency_info.dot:33: INPUT_EVENT_LATENCY_SCROLL_UPDATE_ORIGINAL_COMPONENT -> INPUT_EVENT_LATENCY_RENDERING_SCHEDULED_IMPL_COMPONENT [label="Event.Latency.ScrollUpdate.*.TimeToHandled2_Impl"]; On 2016/11/24 19:16:16, tdresser wrote: ...
4 years ago (2016-11-24 19:29:11 UTC) #91
tdresser
Thanks! LGTM https://codereview.chromium.org/2268163002/diff/340001/ui/events/latency_info.dot File ui/events/latency_info.dot (right): https://codereview.chromium.org/2268163002/diff/340001/ui/events/latency_info.dot#newcode33 ui/events/latency_info.dot:33: INPUT_EVENT_LATENCY_SCROLL_UPDATE_ORIGINAL_COMPONENT -> INPUT_EVENT_LATENCY_RENDERING_SCHEDULED_IMPL_COMPONENT [label="Event.Latency.ScrollUpdate.*.TimeToHandled2_Impl"]; On 2016/11/24 19:29:11, ...
4 years ago (2016-11-28 15:14:55 UTC) #92
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/2268163002/340001
4 years ago (2016-11-28 16:59:24 UTC) #95
commit-bot: I haz the power
Committed patchset #9 (id:340001)
4 years ago (2016-11-28 17:49:58 UTC) #98
commit-bot: I haz the power
4 years ago (2016-11-28 17:51:39 UTC) #100
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/eb43b09f06395377e66c684522d76ec002563fb0
Cr-Commit-Position: refs/heads/master@{#434682}

Powered by Google App Engine
This is Rietveld 408576698