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