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

Issue 1895983002: Adding UMA metrics to track usage of pointerevents. (Closed)

Created:
4 years, 8 months ago by sahel
Modified:
4 years, 8 months ago
CC:
chromium-reviews, blink-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding UMA metrics to track usage of pointerevents. BUG=574898 TEST=virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html Committed: https://crrev.com/763b6ccb8a2c42b95d8ca42b65d3e68ce522c19e Cr-Commit-Position: refs/heads/master@{#389325}

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Total comments: 10

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -8 lines) Patch
A third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html View 1 2 3 4 5 6 1 chunk +51 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count-expected.txt View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEvent.idl View 1 2 1 chunk +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 41 (15 generated)
tdresser
Awesome, it looks great! I've updated the reviewer (sadly I'm not tim@chromium.org). To the CL ...
4 years, 8 months ago (2016-04-19 12:43:20 UTC) #4
tdresser
+mustaq@ to make sure the pointer event specific logic makes sense. LGTM. https://codereview.chromium.org/1895983002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html ...
4 years, 8 months ago (2016-04-19 17:52:00 UTC) #8
sahel
I addressed the comments. https://codereview.chromium.org/1895983002/diff/1/GOATS File GOATS (right): https://codereview.chromium.org/1895983002/diff/1/GOATS#newcode1 GOATS:1: Adding user Counters to count ...
4 years, 8 months ago (2016-04-19 17:57:06 UTC) #9
mustaq
Thanks Sahel. I have one little request re the name of the counter: I think ...
4 years, 8 months ago (2016-04-19 19:11:43 UTC) #10
sahel
https://codereview.chromium.org/1895983002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html (right): https://codereview.chromium.org/1895983002/diff/40001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html#newcode9 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html:9: #grey { On 2016/04/19 19:11:43, mustaq wrote: > Nit: ...
4 years, 8 months ago (2016-04-19 21:39:21 UTC) #11
tdresser
https://codereview.chromium.org/1895983002/diff/60001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html (right): https://codereview.chromium.org/1895983002/diff/60001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html#newcode28 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html:28: var eventList = ["pointerover", "pointerenter", "pointermove", "pointerdown", "pointerup"]; On ...
4 years, 8 months ago (2016-04-20 12:04:54 UTC) #12
mustaq
https://codereview.chromium.org/1895983002/diff/60001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html (right): https://codereview.chromium.org/1895983002/diff/60001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html#newcode28 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html:28: var eventList = ["pointerover", "pointerenter", "pointermove", "pointerdown", "pointerup"]; On ...
4 years, 8 months ago (2016-04-20 14:40:09 UTC) #13
tdresser
https://codereview.chromium.org/1895983002/diff/60001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html (right): https://codereview.chromium.org/1895983002/diff/60001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html#newcode28 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html:28: var eventList = ["pointerover", "pointerenter", "pointermove", "pointerdown", "pointerup"]; On ...
4 years, 8 months ago (2016-04-20 14:54:40 UTC) #14
mustaq
On 2016/04/20 14:54:40, tdresser wrote: > https://codereview.chromium.org/1895983002/diff/60001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html > File > third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html > (right): > > ...
4 years, 8 months ago (2016-04-20 15:47:37 UTC) #15
tdresser
On 2016/04/20 15:47:37, mustaq wrote: > On 2016/04/20 14:54:40, tdresser wrote: > > > https://codereview.chromium.org/1895983002/diff/60001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html ...
4 years, 8 months ago (2016-04-20 16:03:04 UTC) #16
mustaq
On 2016/04/20 16:03:04, tdresser wrote: > On 2016/04/20 15:47:37, mustaq wrote: > > On 2016/04/20 ...
4 years, 8 months ago (2016-04-20 17:31:00 UTC) #17
sahel
I narrowed down the events to "pointerdown". deleted the last to eventSender calls. (I needed ...
4 years, 8 months ago (2016-04-20 21:45:51 UTC) #18
tdresser
+bokan@ for OWNERS for webkit. +isherman@ for histograms.xml. https://codereview.chromium.org/1895983002/diff/80001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html (right): https://codereview.chromium.org/1895983002/diff/80001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html#newcode42 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html:42: var ...
4 years, 8 months ago (2016-04-21 12:15:59 UTC) #20
bokan
https://codereview.chromium.org/1895983002/diff/80001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html (right): https://codereview.chromium.org/1895983002/diff/80001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html#newcode44 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html:44: debug(internals.isUseCounted(document, PointerEventAttributeCount)); It's more idiomatic to check your assertions ...
4 years, 8 months ago (2016-04-21 13:12:11 UTC) #21
tdresser
https://codereview.chromium.org/1895983002/diff/80001/third_party/WebKit/Source/core/frame/UseCounter.h File third_party/WebKit/Source/core/frame/UseCounter.h (right): https://codereview.chromium.org/1895983002/diff/80001/third_party/WebKit/Source/core/frame/UseCounter.h#newcode1125 third_party/WebKit/Source/core/frame/UseCounter.h:1125: MediaStreamTrackRemote = 1306, On 2016/04/21 13:12:11, bokan wrote: > ...
4 years, 8 months ago (2016-04-21 13:23:08 UTC) #22
sahel
https://codereview.chromium.org/1895983002/diff/80001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html (right): https://codereview.chromium.org/1895983002/diff/80001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html#newcode42 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html:42: var PointerEventAttributeCount = 1306; //Comes from enum Feature in ...
4 years, 8 months ago (2016-04-21 20:11:19 UTC) #23
bokan
Thanks, webkit lgtm % minor nit https://codereview.chromium.org/1895983002/diff/100001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html (right): https://codereview.chromium.org/1895983002/diff/100001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html#newcode42 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html:42: shouldBe('true', 'internals.isUseCounted(document, PointerEventAttributeCount)'); ...
4 years, 8 months ago (2016-04-21 20:18:16 UTC) #24
sahel
https://codereview.chromium.org/1895983002/diff/100001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html File third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html (right): https://codereview.chromium.org/1895983002/diff/100001/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html#newcode42 third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html:42: shouldBe('true', 'internals.isUseCounted(document, PointerEventAttributeCount)'); On 2016/04/21 20:18:16, bokan wrote: > ...
4 years, 8 months ago (2016-04-21 20:57:14 UTC) #25
Ilya Sherman
histograms.xml lgtm
4 years, 8 months ago (2016-04-22 08:23:44 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1895983002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1895983002/120001
4 years, 8 months ago (2016-04-22 14:17:06 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/23593) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-04-22 14:19:20 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1895983002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1895983002/140001
4 years, 8 months ago (2016-04-22 15:15:36 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/209866)
4 years, 8 months ago (2016-04-22 19:51:45 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1895983002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1895983002/140001
4 years, 8 months ago (2016-04-22 20:06:46 UTC) #38
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 8 months ago (2016-04-23 00:29:45 UTC) #39
commit-bot: I haz the power
4 years, 8 months ago (2016-04-23 00:31:16 UTC) #41
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/763b6ccb8a2c42b95d8ca42b65d3e68ce522c19e
Cr-Commit-Position: refs/heads/master@{#389325}

Powered by Google App Engine
This is Rietveld 408576698