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

Issue 764403002: Expand UMA coverage for compositor-handled events and fling FPS (Closed)

Created:
6 years ago by jdduke (slow)
Modified:
6 years ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jdduke+watch_chromium.org, jam, mlamouri+watch-content_chromium.org, Rick Byers, tdresser
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Expand UMA coverage for compositor-handled events and fling FPS Include explicit compositor-thread UMA latency coverage for scroll begin, as well as pinch and fling-related events. Also add an FPS metric for both main and compositor-thread driven flings. BUG=437310, 436965 Committed: https://crrev.com/0ead6d08a9974cfdabfe40af7501441154685076 Cr-Commit-Position: refs/heads/master@{#307096}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Update histograms.xml #

Total comments: 3

Patch Set 3 : Naming fix for histograms.xml #

Patch Set 4 : Remove GestureScroll #

Total comments: 6

Patch Set 5 : Better description #

Total comments: 4

Patch Set 6 : Tweak phrasing #

Total comments: 5

Patch Set 7 : Fix build #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -29 lines) Patch
M content/child/blink_platform_impl.cc View 1 chunk +7 lines, -4 lines 0 comments Download
M content/child/web_gesture_curve_impl.h View 2 chunks +16 lines, -3 lines 0 comments Download
M content/child/web_gesture_curve_impl.cc View 1 3 chunks +52 lines, -8 lines 0 comments Download
M content/child/web_gesture_curve_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/input/input_handler_proxy.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/input/input_handler_proxy.cc View 1 2 3 4 5 6 4 chunks +45 lines, -13 lines 3 comments Download
M tools/metrics/histograms/histograms.xml View 3 chunks +35 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (7 generated)
jdduke (slow)
miletus@: PTAL, thanks. rbyers@: Turns out we can get fling FPS UMA coverage for the ...
6 years ago (2014-12-01 18:20:59 UTC) #2
Yufeng Shen (Slow to review)
Note you also need to add description for the new UMA data like https://code.google.com/p/chromium/codesearch#chromium/src/tools/metrics/histograms/histograms.xml&sq=package:chromium&l=7059 https://codereview.chromium.org/764403002/diff/1/content/child/web_gesture_curve_impl.cc ...
6 years ago (2014-12-01 18:57:07 UTC) #3
Rick Byers
Great, glad to see this expanding. /cc tdresser since he's spent the most time staring ...
6 years ago (2014-12-01 19:47:10 UTC) #5
jdduke (slow)
Additional owners: sievers@: content/child mpearson@: tools/metrics/histograms https://codereview.chromium.org/764403002/diff/1/content/child/web_gesture_curve_impl.cc File content/child/web_gesture_curve_impl.cc (right): https://codereview.chromium.org/764403002/diff/1/content/child/web_gesture_curve_impl.cc#newcode88 content/child/web_gesture_curve_impl.cc:88: 1, 200, 100); ...
6 years ago (2014-12-01 20:20:29 UTC) #7
Yufeng Shen (Slow to review)
https://codereview.chromium.org/764403002/diff/1/content/child/web_gesture_curve_impl.cc File content/child/web_gesture_curve_impl.cc (right): https://codereview.chromium.org/764403002/diff/1/content/child/web_gesture_curve_impl.cc#newcode88 content/child/web_gesture_curve_impl.cc:88: 1, 200, 100); On 2014/12/01 20:20:28, jdduke wrote: > ...
6 years ago (2014-12-01 20:40:14 UTC) #8
jdduke (slow)
https://codereview.chromium.org/764403002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/764403002/diff/20001/tools/metrics/histograms/histograms.xml#newcode7064 tools/metrics/histograms/histograms.xml:7064: +<histogram name="Event.Latency.RendererImpl" units="microseconds"> On 2014/12/01 20:40:14, Yufeng Shen wrote: ...
6 years ago (2014-12-01 21:09:51 UTC) #9
Mark P
https://codereview.chromium.org/764403002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/764403002/diff/60001/tools/metrics/histograms/histograms.xml#oldcode7048 tools/metrics/histograms/histograms.xml:7048: -<histogram name="Event.Latency.RendererImpl.GestureScroll" units="microseconds"> Please keep this old histogram name ...
6 years ago (2014-12-01 21:27:37 UTC) #10
jdduke (slow)
https://codereview.chromium.org/764403002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/764403002/diff/60001/tools/metrics/histograms/histograms.xml#oldcode7048 tools/metrics/histograms/histograms.xml:7048: -<histogram name="Event.Latency.RendererImpl.GestureScroll" units="microseconds"> On 2014/12/01 21:27:36, Mark P wrote: ...
6 years ago (2014-12-01 22:47:30 UTC) #11
Mark P
https://codereview.chromium.org/764403002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/764403002/diff/80001/tools/metrics/histograms/histograms.xml#newcode6707 tools/metrics/histograms/histograms.xml:6707: + Emitted after a renderer process, main-thread fling terminates, ...
6 years ago (2014-12-01 23:13:01 UTC) #12
jdduke (slow)
https://codereview.chromium.org/764403002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/764403002/diff/80001/tools/metrics/histograms/histograms.xml#newcode6707 tools/metrics/histograms/histograms.xml:6707: + Emitted after a renderer process, main-thread fling terminates, ...
6 years ago (2014-12-02 01:20:52 UTC) #14
tdresser
High level approach LGTM. https://codereview.chromium.org/764403002/diff/120001/content/child/web_gesture_curve_impl.cc File content/child/web_gesture_curve_impl.cc (right): https://codereview.chromium.org/764403002/diff/120001/content/child/web_gesture_curve_impl.cc#newcode86 content/child/web_gesture_curve_impl.cc:86: "Event.Frequency.Renderer.FlingAnimate", It might be worth ...
6 years ago (2014-12-02 14:42:27 UTC) #16
jdduke (slow)
https://codereview.chromium.org/764403002/diff/120001/content/renderer/input/input_handler_proxy.cc File content/renderer/input/input_handler_proxy.cc (right): https://codereview.chromium.org/764403002/diff/120001/content/renderer/input/input_handler_proxy.cc#newcode190 content/renderer/input/input_handler_proxy.cc:190: base::TimeTicks::IsHighResNowFastAndReliable()) { On 2014/12/02 14:42:27, tdresser wrote: > Do ...
6 years ago (2014-12-02 20:04:56 UTC) #17
miletus1
https://codereview.chromium.org/764403002/diff/120001/content/renderer/input/input_handler_proxy.cc File content/renderer/input/input_handler_proxy.cc (right): https://codereview.chromium.org/764403002/diff/120001/content/renderer/input/input_handler_proxy.cc#newcode190 content/renderer/input/input_handler_proxy.cc:190: base::TimeTicks::IsHighResNowFastAndReliable()) { On 2014/12/02 20:04:56, jdduke wrote: > On ...
6 years ago (2014-12-02 22:22:34 UTC) #19
Mark P
histograms.xml lgtm
6 years ago (2014-12-02 23:13:49 UTC) #20
jdduke (slow)
sievers@: Anything else you'd like to see from content/child?
6 years ago (2014-12-03 22:30:49 UTC) #21
no sievers
lgtm https://codereview.chromium.org/764403002/diff/140001/content/renderer/input/input_handler_proxy.cc File content/renderer/input/input_handler_proxy.cc (right): https://codereview.chromium.org/764403002/diff/140001/content/renderer/input/input_handler_proxy.cc#newcode119 content/renderer/input/input_handler_proxy.cc:119: const ui::LatencyInfo& latency_info) { DCHECK(uma_latency_reporting_enabled_);
6 years ago (2014-12-05 21:27:00 UTC) #22
jdduke (slow)
https://codereview.chromium.org/764403002/diff/140001/content/renderer/input/input_handler_proxy.cc File content/renderer/input/input_handler_proxy.cc (right): https://codereview.chromium.org/764403002/diff/140001/content/renderer/input/input_handler_proxy.cc#newcode119 content/renderer/input/input_handler_proxy.cc:119: const ui::LatencyInfo& latency_info) { On 2014/12/05 21:27:00, sievers wrote: ...
6 years ago (2014-12-05 21:31:53 UTC) #23
no sievers
https://codereview.chromium.org/764403002/diff/140001/content/renderer/input/input_handler_proxy.cc File content/renderer/input/input_handler_proxy.cc (right): https://codereview.chromium.org/764403002/diff/140001/content/renderer/input/input_handler_proxy.cc#newcode119 content/renderer/input/input_handler_proxy.cc:119: const ui::LatencyInfo& latency_info) { On 2014/12/05 21:31:53, jdduke wrote: ...
6 years ago (2014-12-05 21:33:53 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/764403002/140001
6 years ago (2014-12-05 21:36:05 UTC) #26
commit-bot: I haz the power
Committed patchset #7 (id:140001)
6 years ago (2014-12-05 22:22:17 UTC) #27
commit-bot: I haz the power
6 years ago (2014-12-05 22:24:54 UTC) #28
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0ead6d08a9974cfdabfe40af7501441154685076
Cr-Commit-Position: refs/heads/master@{#307096}

Powered by Google App Engine
This is Rietveld 408576698