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

Issue 2732643003: DevTools: remove PerformanceMonitor::HandlerCall, migrate to the new scoped probes. (Closed)

Created:
3 years, 9 months ago by pfeldman
Modified:
3 years, 9 months ago
Reviewers:
caseq, alph
CC:
chromium-reviews, caseq+blink_chromium.org, pfeldman+blink_chromium.org, sof, eae+blinkwatch, lushnikov+blink_chromium.org, blink-reviews-dom_chromium.org, dglazkov+blink, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, blink-reviews-frames_chromium.org, kozyatinskiy+blink_chromium.org, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: remove PerformanceMonitor::HandlerCall, migrate to the new scoped probes. BUG=695625 Review-Url: https://codereview.chromium.org/2732643003 Cr-Commit-Position: refs/heads/master@{#454993} Committed: https://chromium.googlesource.com/chromium/src/+/ca679a17b68dbc0b26a088bc099b8ff918a37e00

Patch Set 1 #

Patch Set 2 #

Total comments: 3

Patch Set 3 #

Total comments: 2

Patch Set 4 #

Total comments: 8

Patch Set 5 : review comments addressed. #

Patch Set 6 : check added #

Patch Set 7 : Introduce progress monitor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -162 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp View 1 2 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/dom/FrameRequestCallbackCollection.cpp View 1 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventTarget.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/DOMTimer.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/frame/PerformanceMonitor.h View 1 2 3 4 chunks +21 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp View 1 2 3 4 3 chunks +64 lines, -91 lines 0 comments Download
M third_party/WebKit/Source/core/frame/VisualViewport.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py View 1 2 3 4 5 6 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl View 1 3 chunks +12 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorPageAgent.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp View 1 1 chunk +16 lines, -8 lines 0 comments Download

Messages

Total messages: 28 (16 generated)
pfeldman
3 years, 9 months ago (2017-03-03 23:41:43 UTC) #2
caseq
https://codereview.chromium.org/2732643003/diff/20001/third_party/WebKit/Source/core/frame/PerformanceMonitor.h File third_party/WebKit/Source/core/frame/PerformanceMonitor.h (right): https://codereview.chromium.org/2732643003/diff/20001/third_party/WebKit/Source/core/frame/PerformanceMonitor.h#newcode137 third_party/WebKit/Source/core/frame/PerformanceMonitor.h:137: const void* m_userCallback; File a bug and add a ...
3 years, 9 months ago (2017-03-04 00:20:59 UTC) #5
pfeldman
https://codereview.chromium.org/2732643003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h File third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h (right): https://codereview.chromium.org/2732643003/diff/20001/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h#newcode53 third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h:53: double startTime() const; On 2017/03/04 00:20:59, caseq wrote: > ...
3 years, 9 months ago (2017-03-04 00:26:23 UTC) #6
caseq
https://codereview.chromium.org/2732643003/diff/40001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp File third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp (right): https://codereview.chromium.org/2732643003/diff/40001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp#newcode225 third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp:225: if (--m_userCallbackDepth) !--m_userCallbackDepth
3 years, 9 months ago (2017-03-04 00:27:35 UTC) #8
pfeldman
https://codereview.chromium.org/2732643003/diff/40001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp File third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp (right): https://codereview.chromium.org/2732643003/diff/40001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp#newcode225 third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp:225: if (--m_userCallbackDepth) On 2017/03/04 00:27:34, caseq wrote: > !--m_userCallbackDepth ...
3 years, 9 months ago (2017-03-04 00:32:25 UTC) #10
caseq
lgtm https://codereview.chromium.org/2732643003/diff/100001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp File third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp (right): https://codereview.chromium.org/2732643003/diff/100001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp#newcode214 third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp:214: m_userCallback = &probe; DCHECK(!m_userCallback) above that? https://codereview.chromium.org/2732643003/diff/100001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp#newcode244 third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp:244: ...
3 years, 9 months ago (2017-03-04 00:48:20 UTC) #11
alph
lgtm https://codereview.chromium.org/2732643003/diff/100001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp File third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp (right): https://codereview.chromium.org/2732643003/diff/100001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp#newcode144 third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp:144: if (m_thresholds[kLongLayout] && m_scriptDepth) nit: merge with m_enabled ...
3 years, 9 months ago (2017-03-04 02:09:11 UTC) #12
pfeldman
https://codereview.chromium.org/2732643003/diff/100001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp File third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp (right): https://codereview.chromium.org/2732643003/diff/100001/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp#newcode168 third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp:168: m_perTaskStyleAndLayoutTime += probe.duration(); On 2017/03/04 02:09:10, alph wrote: > ...
3 years, 9 months ago (2017-03-04 02:37:08 UTC) #13
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/2732643003/120001
3 years, 9 months ago (2017-03-04 02:37:30 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/333892)
3 years, 9 months ago (2017-03-04 03:14:03 UTC) #18
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/2732643003/150001
3 years, 9 months ago (2017-03-06 21:39:29 UTC) #25
commit-bot: I haz the power
3 years, 9 months ago (2017-03-06 23:19:14 UTC) #28
Message was sent while issue was closed.
Committed patchset #7 (id:150001) as
https://chromium.googlesource.com/chromium/src/+/ca679a17b68dbc0b26a088bc099b...

Powered by Google App Engine
This is Rietveld 408576698