OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 import 'dart:html'; | 5 import 'dart:html'; |
6 import 'dart:async'; | 6 import 'dart:async'; |
7 import 'package:observatory/models.dart' as M show IsolateRef, EventRepository; | 7 import 'package:observatory/models.dart' as M show IsolateRef, EventRepository; |
8 import 'package:observatory/src/elements/helpers/nav_menu.dart'; | 8 import 'package:observatory/src/elements/helpers/nav_menu.dart'; |
9 import 'package:observatory/src/elements/helpers/rendering_scheduler.dart'; | 9 import 'package:observatory/src/elements/helpers/rendering_scheduler.dart'; |
10 import 'package:observatory/src/elements/helpers/tag.dart'; | 10 import 'package:observatory/src/elements/helpers/tag.dart'; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 new NavMenuItemElement('debugger', | 72 new NavMenuItemElement('debugger', |
73 queue: _r.queue, link: Uris.debugger(isolate)), | 73 queue: _r.queue, link: Uris.debugger(isolate)), |
74 new NavMenuItemElement('class hierarchy', | 74 new NavMenuItemElement('class hierarchy', |
75 queue: _r.queue, link: Uris.classTree(isolate)), | 75 queue: _r.queue, link: Uris.classTree(isolate)), |
76 new NavMenuItemElement('cpu profile', | 76 new NavMenuItemElement('cpu profile', |
77 queue: _r.queue, link: Uris.cpuProfiler(isolate)), | 77 queue: _r.queue, link: Uris.cpuProfiler(isolate)), |
78 new NavMenuItemElement('cpu profile (table)', | 78 new NavMenuItemElement('cpu profile (table)', |
79 queue: _r.queue, link: Uris.cpuProfilerTable(isolate)), | 79 queue: _r.queue, link: Uris.cpuProfilerTable(isolate)), |
80 new NavMenuItemElement('allocation profile', | 80 new NavMenuItemElement('allocation profile', |
81 queue: _r.queue, link: Uris.allocationProfiler(isolate)), | 81 queue: _r.queue, link: Uris.allocationProfiler(isolate)), |
| 82 new NavMenuItemElement('heap snapshot', |
| 83 queue: _r.queue, link: Uris.heapSnapshot(isolate)), |
82 new NavMenuItemElement('heap map', | 84 new NavMenuItemElement('heap map', |
83 queue: _r.queue, link: Uris.heapMap(isolate)), | 85 queue: _r.queue, link: Uris.heapMap(isolate)), |
84 new NavMenuItemElement('metrics', | 86 new NavMenuItemElement('metrics', |
85 queue: _r.queue, link: Uris.metrics(isolate)), | 87 queue: _r.queue, link: Uris.metrics(isolate)), |
86 new NavMenuItemElement('heap snapshot', | |
87 queue: _r.queue, link: Uris.heapSnapshot(isolate)), | |
88 new NavMenuItemElement('persistent handles', | 88 new NavMenuItemElement('persistent handles', |
89 queue: _r.queue, link: Uris.persistentHandles(isolate)), | 89 queue: _r.queue, link: Uris.persistentHandles(isolate)), |
90 new NavMenuItemElement('ports', | 90 new NavMenuItemElement('ports', |
91 queue: _r.queue, link: Uris.ports(isolate)), | 91 queue: _r.queue, link: Uris.ports(isolate)), |
92 new NavMenuItemElement('logging', | 92 new NavMenuItemElement('logging', |
93 queue: _r.queue, link: Uris.logging(isolate)), | 93 queue: _r.queue, link: Uris.logging(isolate)), |
94 ]..addAll(_content); | 94 ]..addAll(_content); |
95 children = [ | 95 children = [ |
96 navMenu(isolate.name, content: content, link: Uris.inspect(isolate)) | 96 navMenu(isolate.name, content: content, link: Uris.inspect(isolate)) |
97 ]; | 97 ]; |
98 } | 98 } |
99 } | 99 } |
OLD | NEW |