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

Side by Side Diff: runtime/observatory/lib/src/elements/isolate_summary.html

Issue 1403883002: -Fix display of megamorphic miss function. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> 1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="action_link.html"> 2 <link rel="import" href="action_link.html">
3 <link rel="import" href="function_ref.html"> 3 <link rel="import" href="function_ref.html">
4 <link rel="import" href="isolate_ref.html"> 4 <link rel="import" href="isolate_ref.html">
5 <link rel="import" href="observatory_element.html"> 5 <link rel="import" href="observatory_element.html">
6 <link rel="import" href="script_inset.html"> 6 <link rel="import" href="script_inset.html">
7 <link rel="import" href="script_ref.html"> 7 <link rel="import" href="script_ref.html">
8 <polymer-element name="isolate-summary" extends="observatory-element"> 8 <polymer-element name="isolate-summary" extends="observatory-element">
9 <template> 9 <template>
10 <link rel="stylesheet" href="css/shared.css"> 10 <link rel="stylesheet" href="css/shared.css">
11 <div class="flex-row"> 11 <div class="flex-row">
12 <div class="flex-item-10-percent"> 12 <div>
13 <img src="img/isolate_icon.png">
14 </div>
15 <div class="flex-item-10-percent">
16 {{ isolate.number }}
17 </div>
18 <div class="flex-item-20-percent">
19 <isolate-ref ref="{{ isolate }}"></isolate-ref> 13 <isolate-ref ref="{{ isolate }}"></isolate-ref>
20 </div> 14 </div>
21 <div class="flex-item-10-percent"> 15 <div style="flex:1"></div>
16 <div>
22 <isolate-run-state isolate="{{ isolate }}"></isolate-run-state> 17 <isolate-run-state isolate="{{ isolate }}"></isolate-run-state>
23 </div>
24 <div class="flex-item-40-percent">
25 <isolate-location isolate="{{ isolate }}"></isolate-location> 18 <isolate-location isolate="{{ isolate }}"></isolate-location>
26 [<a on-click="{{ goto }}" _href="{{ gotoLink('/debugger', isolate) }}">d ebug</a>] 19 [<a on-click="{{ goto }}" _href="{{ gotoLink('/debugger', isolate) }}">d ebug</a>]
27 </div> 20 </div>
28 <div class="flex-item-10-percent">
29 </div>
30 </div> 21 </div>
31 22 <br>
32 <div class="flex-row">
33 <div class="flex-item-20-percent"></div>
34 <div class="flex-item-60-percent">
35 <hr>
36 </div>
37 <div class="flex-item-20-percent"></div>
38 </div>
39
40 <isolate-shared-summary isolate="{{ isolate }}"></isolate-shared-summary> 23 <isolate-shared-summary isolate="{{ isolate }}"></isolate-shared-summary>
41
42 </template> 24 </template>
43 </polymer-element> 25 </polymer-element>
44 26
45 <polymer-element name="isolate-run-state" extends="observatory-element"> 27 <polymer-element name="isolate-run-state" extends="observatory-element">
46 <template> 28 <template>
47 <template if="{{ isolate.paused }}"> 29 <template if="{{ isolate.paused }}">
48 <strong title="{{ isolate.pauseEvent.timestamp.toString() }}">paused</stro ng> 30 <strong title="{{ isolate.pauseEvent.timestamp.toString() }}">paused</stro ng>
49 </template> 31 </template>
50 32
51 <template if="{{ isolate.running }}"> 33 <template if="{{ isolate.running }}">
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 81
100 </template> 82 </template>
101 </polymer-element> 83 </polymer-element>
102 84
103 <polymer-element name="isolate-shared-summary" extends="observatory-element"> 85 <polymer-element name="isolate-shared-summary" extends="observatory-element">
104 <template> 86 <template>
105 <style> 87 <style>
106 .errorBox { 88 .errorBox {
107 background-color: #f5f5f5; 89 background-color: #f5f5f5;
108 border: 1px solid #ccc; 90 border: 1px solid #ccc;
109 padding: 10px; 91 padding: 2em;
110 font-family: consolas, courier, monospace; 92 font-family: consolas, courier, monospace;
111 font-size: 1em; 93 font-size: 1em;
112 line-height: 1.2em; 94 line-height: 1.2em;
113 white-space: pre; 95 white-space: pre;
114 } 96 }
115 </style> 97 </style>
116 <link rel="stylesheet" href="css/shared.css"> 98 <link rel="stylesheet" href="css/shared.css">
117 <template if="{{ isolate.error != null }}"> 99 <template if="{{ isolate.error != null }}">
118 <div class="content-centered"> 100 <div class="content-centered">
119 <pre class="errorBox">{{ isolate.error.message }}</pre> 101 <pre class="errorBox">{{ isolate.error.message }}</pre>
120 <br> 102 <br>
121 </div> 103 </div>
122 </template> 104 </template>
123 <div class="flex-row"> 105 <div class="flex-row">
124 <div class="flex-item-50-percent"> 106 <div style="flex:2">
125 <isolate-counter-chart counters="{{ isolate.counters }}"></isolate-count er-chart> 107 <isolate-counter-chart counters="{{ isolate.counters }}"></isolate-count er-chart>
126 </div> 108 </div>
127 <div class="flex-item-40-percent"> 109 <div style="flex:1">
128 <div class="memberList"> 110 <div class="memberList">
129 <div class="memberItem"> 111 <div class="memberItem">
130 <div class="memberName">new heap</div> 112 <div class="memberName">new heap</div>
131 <div class="memberValue"> 113 <div class="memberValue">
132 {{ isolate.newSpace.used | formatSize }} 114 {{ isolate.newSpace.used | formatSize }}
133 of 115 of
134 {{ isolate.newSpace.capacity | formatSize }} 116 {{ isolate.newSpace.capacity | formatSize }}
135 </div> 117 </div>
136 </div> 118 </div>
137 <div class="memberItem"> 119 <div class="memberItem">
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 <!-- Temporarily disabled until UI for dart:io is acceptable. 179 <!-- Temporarily disabled until UI for dart:io is acceptable.
198 <template if="{{ isolate.ioEnabled }}"> 180 <template if="{{ isolate.ioEnabled }}">
199 <div class="memberItem"> 181 <div class="memberItem">
200 <div class="memberValue"> 182 <div class="memberValue">
201 See <a on-click="{{ goto }}" href="{{ gotoLink('/io', isolate) }}" >dart:io</a> 183 See <a on-click="{{ goto }}" href="{{ gotoLink('/io', isolate) }}" >dart:io</a>
202 </div> 184 </div>
203 </div> 185 </div>
204 </template> 186 </template>
205 --> 187 -->
206 </div> 188 </div>
207 <div class="flex-item-10-percent">
208 </div>
209 </div> 189 </div>
210 </template> 190 </template>
211 </polymer-element> 191 </polymer-element>
212 192
213 <polymer-element name="isolate-counter-chart" extends="observatory-element"> 193 <polymer-element name="isolate-counter-chart" extends="observatory-element">
214 <template> 194 <template>
215 <link rel="stylesheet" href="../../../../packages/charted/charts/themes/quan tum_theme.css"> 195 <link rel="stylesheet" href="../../../../packages/charted/charts/themes/quan tum_theme.css">
216 <style> 196 <style>
217 .chart-wrapper { 197 .chart-wrapper {
218 } 198 }
219
220 .chart-host-wrapper { 199 .chart-host-wrapper {
221 height: 200px; 200 display: flex;
201 flex-direction: row;
202 max-height: 250px;
203 }
204 .chart-host {
205 flex: 1;
222 } 206 }
223 .chart-legend-host { 207 .chart-legend-host {
224 max-height: 200px; 208 flex: 1;
225 overflow-x: auto; 209 overflow-x: auto;
226 overflow-y: auto; 210 overflow-y: auto;
227 } 211 }
228 </style> 212 </style>
229 <div class="chart-wrapper" id="isolate-counter-chart"> 213 <div class="chart-wrapper" id="isolate-counter-chart">
230 <div class="chart-host-wrapper"> 214 <div class="chart-host-wrapper">
231 <div class="chart-host" id="isolate-counter-chart-host"></div> 215 <div class="chart-host" id="isolate-counter-chart-host"></div>
232 <div class="chart-legend-host" id="isolate-counter-chart-legend-host"> </div> 216 <div class="chart-legend-host" id="isolate-counter-chart-legend-host"></ div>
233 </div> 217 </div>
234 </div> 218 </div>
235 </template> 219 </template>
236 </polymer-element> 220 </polymer-element>
237 221
238 <script type="application/dart" src="isolate_summary.dart"></script> 222 <script type="application/dart" src="isolate_summary.dart"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698