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

Issue 1525913002: Observatory: Include profiler samples in the timeline view. (Closed)

Created:
5 years ago by rmacnak
Modified:
5 years ago
Reviewers:
Cutch
CC:
reviews_dartlang.org, turnidge, Cutch, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Observatory: Include profiler samples in the timeline view. - Add pre-isolate service RPC that emits profiler samples in about:tracing format. - Make timeline UI automatically merge the event timeline with the sample timelines. R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/a0e0ac78cbb063582ff2a36dbf79dde90d4c6154

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : + unit test #

Total comments: 13

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -26 lines) Patch
M runtime/observatory/lib/src/elements/timeline_page.dart View 1 1 chunk +6 lines, -1 line 0 comments Download
A runtime/observatory/tests/service/get_cpu_profile_timeline_rpc_test.dart View 1 2 3 4 5 6 1 chunk +56 lines, -0 lines 0 comments Download
M runtime/observatory/web/timeline.js View 1 2 3 4 5 6 7 4 chunks +48 lines, -5 lines 0 comments Download
M runtime/vm/profiler.h View 1 2 3 4 5 4 chunks +12 lines, -0 lines 0 comments Download
M runtime/vm/profiler.cc View 1 3 chunks +6 lines, -4 lines 0 comments Download
M runtime/vm/profiler_service.h View 1 2 3 4 5 6 6 chunks +23 lines, -2 lines 0 comments Download
M runtime/vm/profiler_service.cc View 1 2 3 4 5 6 9 chunks +110 lines, -13 lines 0 comments Download
M runtime/vm/service.cc View 1 3 chunks +17 lines, -1 line 0 comments Download

Messages

Total messages: 11 (5 generated)
rmacnak
5 years ago (2015-12-15 19:30:14 UTC) #5
Cutch
https://codereview.chromium.org/1525913002/diff/80001/runtime/vm/profiler.h File runtime/vm/profiler.h (right): https://codereview.chromium.org/1525913002/diff/80001/runtime/vm/profiler.h#newcode567 runtime/vm/profiler.h:567: void set_timeline_trie(ProfileTrieNode* trie) { timeline_trie_ = trie; } rewrite ...
5 years ago (2015-12-15 21:54:59 UTC) #6
rmacnak
Also added logic to only handle the trace to about:trace after all the responses are ...
5 years ago (2015-12-16 00:14:21 UTC) #7
Cutch
LGTM with one suggestion https://codereview.chromium.org/1525913002/diff/120001/runtime/observatory/web/timeline.js File runtime/observatory/web/timeline.js (right): https://codereview.chromium.org/1525913002/diff/120001/runtime/observatory/web/timeline.js#newcode71 runtime/observatory/web/timeline.js:71: console.log(xhr.statusText); Should this path also ...
5 years ago (2015-12-16 14:47:15 UTC) #8
rmacnak
https://codereview.chromium.org/1525913002/diff/120001/runtime/observatory/web/timeline.js File runtime/observatory/web/timeline.js (right): https://codereview.chromium.org/1525913002/diff/120001/runtime/observatory/web/timeline.js#newcode71 runtime/observatory/web/timeline.js:71: console.log(xhr.statusText); On 2015/12/16 14:47:15, Cutch wrote: > Should this ...
5 years ago (2015-12-16 18:09:05 UTC) #9
rmacnak
5 years ago (2015-12-16 18:11:48 UTC) #11
Message was sent while issue was closed.
Committed patchset #8 (id:140001) manually as
a0e0ac78cbb063582ff2a36dbf79dde90d4c6154 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698