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