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

Issue 1765563002: Stream blocks of timeline events over the service protocol (Closed)

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

Description

Stream blocks of timeline events over the service protocol. Can be used to monitor long running programs without buffering all events inside the VM. - Rename TimelineEventStreamingRecorder to TimelineEventCallbackRecorder. Note that this should only be used for tests. - Add 'Timeline' service event stream. - Send a 'TimelineEvents' event on the 'Timeline' stream whenever a TimelineEventBlock is finished and the 'Timeline' stream is subscribed to. - Simple service protocol test. R=turnidge@google.com Committed: https://github.com/dart-lang/sdk/commit/32abe2ce550c80db520c72871552e0a114127ca9

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -25 lines) Patch
M runtime/observatory/lib/src/service/object.dart View 1 3 chunks +5 lines, -0 lines 0 comments Download
M runtime/observatory/tests/service/service_test_common.dart View 1 1 chunk +16 lines, -0 lines 0 comments Download
A runtime/observatory/tests/service/vm_timeline_events_test.dart View 1 1 chunk +71 lines, -0 lines 0 comments Download
M runtime/vm/json_stream.h View 5 chunks +16 lines, -4 lines 0 comments Download
M runtime/vm/json_stream.cc View 2 chunks +15 lines, -2 lines 0 comments Download
M runtime/vm/service.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/service.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/service/service.md View 1 3 chunks +15 lines, -0 lines 0 comments Download
M runtime/vm/service_event.h View 1 4 chunks +13 lines, -0 lines 0 comments Download
M runtime/vm/service_event.cc View 1 6 chunks +11 lines, -1 line 0 comments Download
M runtime/vm/timeline.h View 3 chunks +12 lines, -8 lines 0 comments Download
M runtime/vm/timeline.cc View 6 chunks +23 lines, -7 lines 0 comments Download
M runtime/vm/timeline_test.cc View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
Cutch
4 years, 9 months ago (2016-03-03 19:01:27 UTC) #4
turnidge
https://codereview.chromium.org/1765563002/diff/1/runtime/observatory/tests/service/service_test_common.dart File runtime/observatory/tests/service/service_test_common.dart (right): https://codereview.chromium.org/1765563002/diff/1/runtime/observatory/tests/service/service_test_common.dart#newcode16 runtime/observatory/tests/service/service_test_common.dart:16: Future subscribedToStream(VM vm, String streamName, onEvent) async { how ...
4 years, 9 months ago (2016-03-03 19:18:16 UTC) #7
Cutch
PTAL https://codereview.chromium.org/1765563002/diff/1/runtime/observatory/tests/service/service_test_common.dart File runtime/observatory/tests/service/service_test_common.dart (right): https://codereview.chromium.org/1765563002/diff/1/runtime/observatory/tests/service/service_test_common.dart#newcode16 runtime/observatory/tests/service/service_test_common.dart:16: Future subscribedToStream(VM vm, String streamName, onEvent) async { ...
4 years, 9 months ago (2016-03-03 19:43:25 UTC) #8
turnidge
lgtm
4 years, 9 months ago (2016-03-04 20:25:45 UTC) #9
Cutch
4 years, 9 months ago (2016-03-04 20:30:56 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
32abe2ce550c80db520c72871552e0a114127ca9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698