| OLD | NEW |
| (Empty) |
| 1 <head> | |
| 2 <link rel="import" href="code_ref.html"> | |
| 3 <link rel="import" href="nav_bar.html"> | |
| 4 <link rel="import" href="observatory_element.html"> | |
| 5 </head> | |
| 6 <polymer-element name="isolate-profile" extends="observatory-element"> | |
| 7 <template> | |
| 8 <nav-bar> | |
| 9 <top-nav-menu></top-nav-menu> | |
| 10 <isolate-nav-menu app="{{ app }}" isolate="{{ app.locationManager.currentI
solate() }}"> | |
| 11 </isolate-nav-menu> | |
| 12 <nav-menu link="." anchor="cpu profile" last="{{ true }}"></nav-menu> | |
| 13 <nav-refresh callback="{{ refresh }}"></nav-refresh> | |
| 14 </nav-bar> | |
| 15 | |
| 16 <div> | |
| 17 <span>Top</span> | |
| 18 <select selectedIndex="{{methodCountSelected}}" value="{{methodCounts[meth
odCountSelected]}}"> | |
| 19 <option template repeat="{{count in methodCounts}}">{{count}}</option> | |
| 20 </select> | |
| 21 <span>exclusive methods</span> | |
| 22 </div> | |
| 23 <table id="tableTree" class="table table-hover"> | |
| 24 <thead> | |
| 25 <tr> | |
| 26 <th>Method</th> | |
| 27 <th>Exclusive</th> | |
| 28 <th>Caller</th> | |
| 29 <th>Inclusive</th> | |
| 30 </tr> | |
| 31 </thead> | |
| 32 <tbody> | |
| 33 <tr template repeat="{{row in tree.rows }}" style="{{}}"> | |
| 34 <td on-click="{{toggleExpanded}}" | |
| 35 class="{{ coloring(row) }}" | |
| 36 style="{{ padding(row) }}"> | |
| 37 <code-ref app="{{ app }}" ref="{{ row.code.codeRef }}"></code-ref> | |
| 38 </td> | |
| 39 <td class="{{ coloring(row) }}">{{row.columns[0]}}</td> | |
| 40 <td class="{{ coloring(row) }}">{{row.columns[1]}}</td> | |
| 41 <td class="{{ coloring(row) }}">{{row.columns[2]}}</td> | |
| 42 </tr> | |
| 43 </tbody> | |
| 44 </table> | |
| 45 </template> | |
| 46 <script type="application/dart" src="isolate_profile.dart"></script> | |
| 47 </polymer-element> | |
| OLD | NEW |