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

Issue 2721663005: [DevTools] Access cpu profiler only when JS capability is present. (Closed)

Created:
3 years, 9 months ago by dgozman
Modified:
3 years, 9 months ago
Reviewers:
alph
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

[DevTools] Access cpu profiler only when JS capability is present. This patch: - removes direct access to profilerAgent; - only creates CPUProfilerModel when JS capability is present; - migrates some target observers to CPUProfilerModel observers; - sets sampling interval immediately before recording. BUG=none Review-Url: https://codereview.chromium.org/2721663005 Cr-Commit-Position: refs/heads/master@{#453804} Committed: https://chromium.googlesource.com/chromium/src/+/ef373c14dc822c44badfd7a359cdb87b631d1a27

Patch Set 1 #

Patch Set 2 : coverage #

Total comments: 4

Patch Set 3 : rebased #

Messages

Total messages: 18 (11 generated)
dgozman
Take a look please.
3 years, 9 months ago (2017-02-28 23:05:39 UTC) #2
alph
lgtm https://codereview.chromium.org/2721663005/diff/20001/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js File third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js (right): https://codereview.chromium.org/2721663005/diff/20001/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js#newcode233 third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js:233: .target() nit: I'd rather write the synchronous part ...
3 years, 9 months ago (2017-02-28 23:59:13 UTC) #7
dgozman
Thank you for review! https://codereview.chromium.org/2721663005/diff/20001/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js File third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js (right): https://codereview.chromium.org/2721663005/diff/20001/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js#newcode233 third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js:233: .target() On 2017/02/28 23:59:13, alph ...
3 years, 9 months ago (2017-03-01 00:18:41 UTC) #8
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/2721663005/40001
3 years, 9 months ago (2017-03-01 00:22:49 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/399787)
3 years, 9 months ago (2017-03-01 01:25:13 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/2721663005/40001
3 years, 9 months ago (2017-03-01 01:35:11 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 02:59:17 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/ef373c14dc822c44badfd7a359cd...

Powered by Google App Engine
This is Rietveld 408576698