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

Side by Side Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_profile.html

Issue 135843006: Improve Code object support in service and observatory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 <head> 1 <head>
2 <link rel="import" href="code_ref.html">
2 <link rel="import" href="observatory_element.html"> 3 <link rel="import" href="observatory_element.html">
3 </head> 4 </head>
4 <polymer-element name="isolate-profile" extends="observatory-element"> 5 <polymer-element name="isolate-profile" extends="observatory-element">
5 <template> 6 <template>
6 <p> P R O F I L E </p> 7 <p> P R O F I L E </p>
7 <div> 8 <div>
8 <button type="button" on-click="{{refreshData}}">Refresh profile data</but ton> 9 <button type="button" on-click="{{refreshData}}">Refresh profile data</but ton>
9 <span>Top</span> 10 <span>Top</span>
10 <select selectedIndex="{{methodCountSelected}}" value="{{methodCounts[meth odCountSelected]}}"> 11 <select selectedIndex="{{methodCountSelected}}" value="{{methodCounts[meth odCountSelected]}}">
11 <option template repeat="{{count in methodCounts}}">{{count}}</option> 12 <option template repeat="{{count in methodCounts}}">{{count}}</option>
12 </select> 13 </select>
13 <span>methods</span> 14 <span>methods</span>
14 </div> 15 </div>
15 <blockquote><strong>Top Inclusive</strong></blockquote> 16 <blockquote><strong>Top Exclusive</strong></blockquote>
16 <table class="table table-hover"> 17 <table class="table table-hover">
17 <thead> 18 <thead>
18 <tr> 19 <tr>
19 <th>Ticks</th> 20 <th>Ticks</th>
20 <th>Percent</th> 21 <th>Percent</th>
21 <th>Method</th> 22 <th>Method</th>
22 </tr> 23 </tr>
23 </thead> 24 </thead>
24 <tbody> 25 <tbody>
25 <tr template repeat="{{ code in topInclusiveCodes }}"> 26 <tr template repeat="{{ code in topExclusiveCodes }}">
26 <td>{{ codeTicks(code, true) }}</td> 27 <td>{{ codeTicks(code, false) }}</td>
27 <td>{{ codePercent(code, true) }}</td> 28 <td>{{ codePercent(code, false) }}</td>
28 <td>{{ codeName(code) }}</td> 29 <td>
30 <span>{{ codeName(code) }}</span>
31 <code-ref app="{{ app }}" ref="{{ code.codeRef }}"></code-ref>
32 </td>
29 </tr> 33 </tr>
30 </table> 34 </table>
31 <blockquote><strong>Top Exclusive</strong></blockquote> 35 <blockquote><strong>Top Inclusive</strong></blockquote>
32 <table class="table table-hover"> 36 <table class="table table-hover">
33 <thead> 37 <thead>
34 <tr> 38 <tr>
35 <th>Ticks</th> 39 <th>Ticks</th>
36 <th>Percent</th> 40 <th>Percent</th>
37 <th>Method</th> 41 <th>Method</th>
38 </tr> 42 </tr>
39 </thead> 43 </thead>
40 <tbody> 44 <tbody>
41 <tr template repeat="{{ code in topExclusiveCodes }}"> 45 <tr template repeat="{{ code in topInclusiveCodes }}">
42 <td>{{ codeTicks(code, false) }}</td> 46 <td>{{ codeTicks(code, true) }}</td>
43 <td>{{ codePercent(code, false) }}</td> 47 <td>{{ codePercent(code, true) }}</td>
44 <td>{{ codeName(code) }}</td> 48 <td>
49 <span>{{ codeName(code) }}</span>
50 <code-ref app="{{ app }}" ref="{{ code.codeRef }}"></code-ref>
51 </td>
45 </tr> 52 </tr>
46 </table> 53 </table>
47 </template> 54 </template>
48 <script type="application/dart" src="isolate_profile.dart"></script> 55 <script type="application/dart" src="isolate_profile.dart"></script>
49 </polymer-element> 56 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698