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

Issue 464953002: Add VMMetric and some sample metrics (Closed)

Created:
6 years, 4 months ago by Cutch
Modified:
6 years, 4 months ago
Reviewers:
koda
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

- Add VMMetric and some sample metrics - Per isolate: * heap.old.used * heap.old.capacity * heap.old.external * heap.new.used * heap.new.capacity * heap.new.external - VM: * vm.isolate.count - New metrics service namespace: /metrics/vm/... R=koda@google.com Committed: https://code.google.com/p/dart/source/detail?r=39305

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Total comments: 24

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+579 lines, -11 lines) Patch
A + runtime/bin/vmservice/observatory/test/vm_metrics_test.dart View 1 2 3 4 1 chunk +9 lines, -9 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 3 4 chunks +23 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 3 chunks +21 lines, -0 lines 0 comments Download
M runtime/vm/json_stream.h View 1 2 3 5 chunks +9 lines, -0 lines 0 comments Download
M runtime/vm/json_stream.cc View 1 2 3 4 chunks +15 lines, -0 lines 0 comments Download
A runtime/vm/metrics.h View 1 2 3 1 chunk +141 lines, -0 lines 0 comments Download
A runtime/vm/metrics.cc View 1 2 3 1 chunk +242 lines, -0 lines 0 comments Download
A runtime/vm/metrics_test.cc View 1 2 3 1 chunk +62 lines, -0 lines 0 comments Download
M runtime/vm/service.cc View 1 2 3 2 chunks +47 lines, -1 line 0 comments Download
M runtime/vm/vm_sources.gypi View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M sdk/lib/profiler/profiler.dart View 1 chunk +2 lines, -1 line 0 comments Download
M tests/lib/profiler/metrics_test.dart View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Cutch
6 years, 4 months ago (2014-08-12 18:46:44 UTC) #1
koda
https://codereview.chromium.org/464953002/diff/20001/runtime/vm/json_stream.cc File runtime/vm/json_stream.cc (right): https://codereview.chromium.org/464953002/diff/20001/runtime/vm/json_stream.cc#newcode411 runtime/vm/json_stream.cc:411: if (s == NULL) { Do we really want ...
6 years, 4 months ago (2014-08-12 22:03:03 UTC) #2
koda
It would be great to include an example of a metric that does not need ...
6 years, 4 months ago (2014-08-12 22:04:15 UTC) #3
Cutch
https://codereview.chromium.org/464953002/diff/20001/runtime/vm/json_stream.cc File runtime/vm/json_stream.cc (right): https://codereview.chromium.org/464953002/diff/20001/runtime/vm/json_stream.cc#newcode411 runtime/vm/json_stream.cc:411: if (s == NULL) { On 2014/08/12 22:03:03, koda ...
6 years, 4 months ago (2014-08-13 17:51:00 UTC) #4
koda
https://codereview.chromium.org/464953002/diff/20001/runtime/vm/json_stream.cc File runtime/vm/json_stream.cc (right): https://codereview.chromium.org/464953002/diff/20001/runtime/vm/json_stream.cc#newcode411 runtime/vm/json_stream.cc:411: if (s == NULL) { On 2014/08/13 17:50:59, Cutch ...
6 years, 4 months ago (2014-08-13 22:43:00 UTC) #5
Cutch
https://codereview.chromium.org/464953002/diff/20001/runtime/vm/json_stream.cc File runtime/vm/json_stream.cc (right): https://codereview.chromium.org/464953002/diff/20001/runtime/vm/json_stream.cc#newcode411 runtime/vm/json_stream.cc:411: if (s == NULL) { On 2014/08/13 22:42:59, koda ...
6 years, 4 months ago (2014-08-14 20:56:19 UTC) #6
koda
LGTM with a suggestion https://codereview.chromium.org/464953002/diff/60001/runtime/bin/vmservice/observatory/test/vm_metrics_test.dart File runtime/bin/vmservice/observatory/test/vm_metrics_test.dart (right): https://codereview.chromium.org/464953002/diff/60001/runtime/bin/vmservice/observatory/test/vm_metrics_test.dart#newcode22 runtime/bin/vmservice/observatory/test/vm_metrics_test.dart:22: for (var member in members) ...
6 years, 4 months ago (2014-08-15 17:16:14 UTC) #7
Cutch
https://codereview.chromium.org/464953002/diff/60001/runtime/bin/vmservice/observatory/test/vm_metrics_test.dart File runtime/bin/vmservice/observatory/test/vm_metrics_test.dart (right): https://codereview.chromium.org/464953002/diff/60001/runtime/bin/vmservice/observatory/test/vm_metrics_test.dart#newcode22 runtime/bin/vmservice/observatory/test/vm_metrics_test.dart:22: for (var member in members) { On 2014/08/15 17:16:14, ...
6 years, 4 months ago (2014-08-15 17:32:41 UTC) #8
Cutch
6 years, 4 months ago (2014-08-15 17:35:09 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 manually as 39305 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698