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

Issue 2203913002: Added trace events for blink feature usage (Closed)

Created:
4 years, 4 months ago by Pat Meenan
Modified:
4 years, 4 months ago
Reviewers:
foolip, Rick Byers
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added trace events for blink feature usage This adds a new trace category (blink.feature_usage) where trace events are generated each time a feature use counter is updated. BUG=633644 Committed: https://crrev.com/720d2fb5ad67e08d11b926b255086579a3bd4b39 Cr-Commit-Position: refs/heads/master@{#411343}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixed CSS name, Eliminated duplicate code #

Total comments: 2

Patch Set 3 : Moved trace point deeper to catch all code paths #

Total comments: 5

Patch Set 4 : Only trace first use of each feature #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -7 lines) Patch
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 1 chunk +1 line, -5 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.cpp View 1 2 3 4 chunks +16 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Pat Meenan
foolip@/rbyers@, could you PTAL. This will make it trivial to collect use counter data from ...
4 years, 4 months ago (2016-08-02 20:00:37 UTC) #2
Rick Byers
Getting these into traces seems reasonable to me, thanks! I'm out on vacation now, but ...
4 years, 4 months ago (2016-08-03 01:08:32 UTC) #3
Pat Meenan
Thanks. Go enjoy vacation and quit checking email ;-) https://codereview.chromium.org/2203913002/diff/1/third_party/WebKit/Source/core/frame/UseCounter.cpp File third_party/WebKit/Source/core/frame/UseCounter.cpp (right): https://codereview.chromium.org/2203913002/diff/1/third_party/WebKit/Source/core/frame/UseCounter.cpp#newcode667 third_party/WebKit/Source/core/frame/UseCounter.cpp:667: ...
4 years, 4 months ago (2016-08-03 13:20:28 UTC) #4
foolip
Is there any infrastructure for testing tracing to get some confidence that this will work ...
4 years, 4 months ago (2016-08-03 14:53:27 UTC) #5
Pat Meenan
Only question now is if we only want to record the first occurrence of each ...
4 years, 4 months ago (2016-08-03 18:43:25 UTC) #6
foolip
AFAICT, with PS3 it will count every hit for things that are only measured, but ...
4 years, 4 months ago (2016-08-08 19:59:11 UTC) #7
Pat Meenan
I switched it to only record the first use of each feature. If we get ...
4 years, 4 months ago (2016-08-09 19:06:32 UTC) #8
foolip
https://codereview.chromium.org/2203913002/diff/40001/third_party/WebKit/Source/core/frame/UseCounter.cpp File third_party/WebKit/Source/core/frame/UseCounter.cpp (left): https://codereview.chromium.org/2203913002/diff/40001/third_party/WebKit/Source/core/frame/UseCounter.cpp#oldcode665 third_party/WebKit/Source/core/frame/UseCounter.cpp:665: ASSERT(Deprecation::deprecationMessage(feature).isEmpty()); On 2016/08/09 19:06:32, Pat Meenan wrote: > On ...
4 years, 4 months ago (2016-08-11 08:03:44 UTC) #9
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/2203913002/60001
4 years, 4 months ago (2016-08-11 13:03:05 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-11 16:04:47 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 16:06:38 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/720d2fb5ad67e08d11b926b255086579a3bd4b39
Cr-Commit-Position: refs/heads/master@{#411343}

Powered by Google App Engine
This is Rietveld 408576698