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

Issue 2484213003: Convert performance monitor to the subscription model. (Closed)

Created:
4 years, 1 month ago by pfeldman
Modified:
4 years, 1 month ago
Reviewers:
caseq, panicker
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert performance monitor to the subscription model. BUG=662497 Committed: https://crrev.com/b951047a98329d8b1d8be534db6a763e280db291 Cr-Commit-Position: refs/heads/master@{#431719}

Patch Set 1 #

Total comments: 2

Patch Set 2 : same #

Total comments: 23

Patch Set 3 : comments addressed #

Total comments: 4

Patch Set 4 : rebaselined again #

Total comments: 2

Patch Set 5 : same #

Total comments: 4

Patch Set 6 : for landing #

Total comments: 4

Patch Set 7 : monitor npcheck #

Patch Set 8 : core export #

Unified diffs Side-by-side diffs Delta from patch set Stats (+390 lines, -263 lines) Patch
M third_party/WebKit/LayoutTests/inspector/input-event-warning.html View 1 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventTarget.cpp View 1 2 3 4 5 6 3 chunks +8 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/frame/PerformanceMonitor.h View 1 2 3 4 5 6 7 4 chunks +37 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp View 1 2 3 4 5 6 3 chunks +87 lines, -175 lines 0 comments Download
M third_party/WebKit/Source/core/frame/PerformanceMonitorTest.cpp View 2 chunks +0 lines, -30 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorLogAgent.h View 1 2 3 3 chunks +18 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp View 1 2 3 4 5 5 chunks +74 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/browser_protocol.json View 1 2 3 4 5 6 2 chunks +16 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/timing/Performance.h View 1 2 3 chunks +12 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/timing/Performance.cpp View 1 2 4 chunks +85 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceTest.cpp View 3 chunks +42 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js View 1 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 38 (21 generated)
pfeldman
4 years, 1 month ago (2016-11-08 21:12:38 UTC) #3
pfeldman
4 years, 1 month ago (2016-11-08 21:12:38 UTC) #4
caseq
https://codereview.chromium.org/2484213003/diff/1/third_party/WebKit/Source/core/frame/PerformanceMonitor.h File third_party/WebKit/Source/core/frame/PerformanceMonitor.h (right): https://codereview.chromium.org/2484213003/diff/1/third_party/WebKit/Source/core/frame/PerformanceMonitor.h#newcode58 third_party/WebKit/Source/core/frame/PerformanceMonitor.h:58: static void removeSubscriptions(ExecutionContext*, Client*); unsubscribeClient or something along these ...
4 years, 1 month ago (2016-11-09 00:41:12 UTC) #7
pfeldman
https://codereview.chromium.org/2484213003/diff/1/third_party/WebKit/Source/core/frame/PerformanceMonitor.h File third_party/WebKit/Source/core/frame/PerformanceMonitor.h (right): https://codereview.chromium.org/2484213003/diff/1/third_party/WebKit/Source/core/frame/PerformanceMonitor.h#newcode58 third_party/WebKit/Source/core/frame/PerformanceMonitor.h:58: static void removeSubscriptions(ExecutionContext*, Client*); On 2016/11/09 00:41:11, caseq wrote: ...
4 years, 1 month ago (2016-11-09 01:39:14 UTC) #8
caseq
https://codereview.chromium.org/2484213003/diff/40001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp File third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp (right): https://codereview.chromium.org/2484213003/diff/40001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp#newcode90 third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp:90: std::move(location)); This does not look good in the loop! ...
4 years, 1 month ago (2016-11-09 02:14:37 UTC) #13
pfeldman
https://codereview.chromium.org/2484213003/diff/40001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp File third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp (right): https://codereview.chromium.org/2484213003/diff/40001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp#newcode90 third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp:90: std::move(location)); On 2016/11/09 02:14:37, caseq wrote: > This does ...
4 years, 1 month ago (2016-11-09 02:29:37 UTC) #14
caseq
lgtm https://codereview.chromium.org/2484213003/diff/60001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp File third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp (right): https://codereview.chromium.org/2484213003/diff/60001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp#newcode87 third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp:87: if (it.value < time) { nit: nuke { ...
4 years, 1 month ago (2016-11-09 02:47:48 UTC) #19
pfeldman
Mostly done :)
4 years, 1 month ago (2016-11-09 02:49:47 UTC) #20
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/2484213003/100001
4 years, 1 month ago (2016-11-09 02:51:48 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/292879)
4 years, 1 month ago (2016-11-09 03:46:29 UTC) #25
panicker
LGTM. Sorry for jumping in late - mostly a question around showing more meaningful into ...
4 years, 1 month ago (2016-11-09 17:38:54 UTC) #26
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/2484213003/120001
4 years, 1 month ago (2016-11-11 20:33:28 UTC) #29
pfeldman
https://codereview.chromium.org/2484213003/diff/100001/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp (right): https://codereview.chromium.org/2484213003/diff/100001/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp#newcode210 third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp:210: String::format("Long running JavaScript task took %ldms.", lround(time)); On 2016/11/09 ...
4 years, 1 month ago (2016-11-11 21:31:32 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/295034)
4 years, 1 month ago (2016-11-11 21:49:23 UTC) #32
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/2484213003/140001
4 years, 1 month ago (2016-11-11 22:00:30 UTC) #35
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 1 month ago (2016-11-12 01:14:08 UTC) #36
commit-bot: I haz the power
4 years, 1 month ago (2016-11-12 01:19:04 UTC) #38
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/b951047a98329d8b1d8be534db6a763e280db291
Cr-Commit-Position: refs/heads/master@{#431719}

Powered by Google App Engine
This is Rietveld 408576698