OLD | NEW |
(Empty) | |
| 1 <head> |
| 2 <link rel="import" href="observatory_element.html"> |
| 3 </head> |
| 4 <polymer-element name="isolate-profile" extends="observatory-element"> |
| 5 <template> |
| 6 <p> P R O F I L E </p> |
| 7 <div> |
| 8 <button type="button" on-click="{{refreshData}}">Refresh profile data</but
ton> |
| 9 <span>Top</span> |
| 10 <select selectedIndex="{{methodCountSelected}}" value="{{methodCounts[meth
odCountSelected]}}"> |
| 11 <option template repeat="{{count in methodCounts}}">{{count}}</option> |
| 12 </select> |
| 13 <span>methods</span> |
| 14 </div> |
| 15 <blockquote><strong>Top Inclusive</strong></blockquote> |
| 16 <table class="table table-hover"> |
| 17 <thead> |
| 18 <tr> |
| 19 <th>Ticks</th> |
| 20 <th>Percent</th> |
| 21 <th>Method</th> |
| 22 </tr> |
| 23 </thead> |
| 24 <tbody> |
| 25 <tr template repeat="{{ code in topInclusiveCodes }}"> |
| 26 <td>{{ codeTicks(code, true) }}</td> |
| 27 <td>{{ codePercent(code, true) }}</td> |
| 28 <td>{{ codeName(code) }}</td> |
| 29 </tr> |
| 30 </table> |
| 31 <blockquote><strong>Top Exclusive</strong></blockquote> |
| 32 <table class="table table-hover"> |
| 33 <thead> |
| 34 <tr> |
| 35 <th>Ticks</th> |
| 36 <th>Percent</th> |
| 37 <th>Method</th> |
| 38 </tr> |
| 39 </thead> |
| 40 <tbody> |
| 41 <tr template repeat="{{ code in topExclusiveCodes }}"> |
| 42 <td>{{ codeTicks(code, false) }}</td> |
| 43 <td>{{ codePercent(code, false) }}</td> |
| 44 <td>{{ codeName(code) }}</td> |
| 45 </tr> |
| 46 </table> |
| 47 </template> |
| 48 <script type="application/dart" src="isolate_profile.dart"></script> |
| 49 </polymer-element> |
OLD | NEW |