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

Unified Diff: runtime/observatory/tests/service/vm_test.dart

Issue 2996803002: Add current rss and embedder name to Observatory (Closed)
Patch Set: Rebase and Merge Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart ('k') | runtime/vm/benchmark_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/service/vm_test.dart
diff --git a/runtime/observatory/tests/service/vm_test.dart b/runtime/observatory/tests/service/vm_test.dart
index f39465e0a2ba661389b72512be3df7cdc46471e4..0f3c7d342f7f33c735ceef6220f9cd9748014ddc 100644
--- a/runtime/observatory/tests/service/vm_test.dart
+++ b/runtime/observatory/tests/service/vm_test.dart
@@ -12,6 +12,11 @@ var tests = [
VM vm = isolate.owner;
expect(vm.targetCPU, isNotNull);
expect(vm.architectureBits == 32 || vm.architectureBits == 64, isTrue);
+ expect(vm.embedder, equals("Dart VM"));
+ expect(vm.currentRSS, isNotNull);
+ expect(vm.currentRSS, greaterThan(0));
+ expect(vm.maxRSS, isNotNull);
+ expect(vm.maxRSS, greaterThan(0));
},
];
« no previous file with comments | « runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart ('k') | runtime/vm/benchmark_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698