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

Unified Diff: runtime/observatory/lib/src/elements/allocation_profile.dart

Issue 2976903002: [observatory] Default sort allocation profiles by size instead of name. (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | runtime/observatory/lib/src/elements/code_ref.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/allocation_profile.dart
diff --git a/runtime/observatory/lib/src/elements/allocation_profile.dart b/runtime/observatory/lib/src/elements/allocation_profile.dart
index 50de87e286ba59ed5be802cfef7819a4a08ec414..441091dc151cd468dad39acd83b84d3d7b3a39df 100644
--- a/runtime/observatory/lib/src/elements/allocation_profile.dart
+++ b/runtime/observatory/lib/src/elements/allocation_profile.dart
@@ -64,8 +64,8 @@ class AllocationProfileElement extends HtmlElement implements Renderable {
bool _autoRefresh = false;
bool _isCompacted = false;
StreamSubscription _gcSubscription;
- _SortingField _sortingField = _SortingField.className;
- _SortingDirection _sortingDirection = _SortingDirection.ascending;
+ _SortingField _sortingField = _SortingField.currentSize;
+ _SortingDirection _sortingDirection = _SortingDirection.descending;
M.VMRef get vm => _vm;
M.IsolateRef get isolate => _isolate;
« no previous file with comments | « no previous file | runtime/observatory/lib/src/elements/code_ref.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698