| OLD | NEW |
| 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
| 2 <link rel="import" href="curly_block.html"> | 2 <link rel="import" href="curly_block.html"> |
| 3 <link rel="import" href="eval_box.html"> | 3 <link rel="import" href="eval_box.html"> |
| 4 <link rel="import" href="eval_link.html"> | 4 <link rel="import" href="eval_link.html"> |
| 5 <link rel="import" href="field_ref.html"> | 5 <link rel="import" href="field_ref.html"> |
| 6 <link rel="import" href="function_ref.html"> | 6 <link rel="import" href="function_ref.html"> |
| 7 <link rel="import" href="instance_ref.html"> | 7 <link rel="import" href="instance_ref.html"> |
| 8 <link rel="import" href="library_ref.html"> | 8 <link rel="import" href="library_ref.html"> |
| 9 <link rel="import" href="nav_bar.html"> | 9 <link rel="import" href="nav_bar.html"> |
| 10 <link rel="import" href="observatory_element.html"> | 10 <link rel="import" href="observatory_element.html"> |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 <div class="memberItem"> | 126 <div class="memberItem"> |
| 127 <div class="memberValue"> | 127 <div class="memberValue"> |
| 128 <function-ref ref="{{ function }}" qualified="{{ false }}"> | 128 <function-ref ref="{{ function }}" qualified="{{ false }}"> |
| 129 </function-ref> | 129 </function-ref> |
| 130 </div> | 130 </div> |
| 131 </div> | 131 </div> |
| 132 </template> | 132 </template> |
| 133 </div> | 133 </div> |
| 134 </curly-block><br><br> | 134 </curly-block><br><br> |
| 135 </template> | 135 </template> |
| 136 | 136 |
| 137 <template if="{{ !cls.hasNoAllocations }}"> | 137 <template if="{{ !cls.hasNoAllocations }}"> |
| 138 instances | 138 instances |
| 139 <div class="memberItem"> | 139 <div class="memberItem"> |
| 140 <div class="memberName">currently allocated</div> | 140 <div class="memberName">currently allocated</div> |
| 141 <div class="memberValue"> | 141 <div class="memberValue"> |
| 142 count {{ cls.newSpace.current.instances + cls.oldSpace.current.ins
tances }} | 142 count {{ cls.newSpace.current.instances + cls.oldSpace.current.ins
tances }} |
| 143 (shallow size {{ cls.newSpace.current.bytes + cls.oldSpace.current
.bytes | formatSize }}) | 143 (shallow size {{ cls.newSpace.current.bytes + cls.oldSpace.current
.bytes | formatSize }}) |
| 144 </div> | 144 </div> |
| 145 </div> | 145 </div> |
| 146 <div class="memberItem"> | 146 <div class="memberItem"> |
| 147 <div class="memberName">strongly reachable</div> | 147 <div class="memberName">strongly reachable</div> |
| 148 <div class="memberValue"> | 148 <div class="memberValue"> |
| 149 <template if="{{ instances == null }}"> | 149 <template if="{{ instances == null }}"> |
| 150 <eval-link callback="{{ reachable }}" | 150 <eval-link callback="{{ reachable }}" |
| 151 label="[find]" | 151 label="[find]" |
| 152 expr="100"> | 152 expr="100"> |
| 153 </eval-link> | 153 </eval-link> |
| 154 </template> | 154 </template> |
| 155 <template if="{{ instances != null }}"> | 155 <template if="{{ instances != null }}"> |
| 156 sample | 156 <template repeat="{{ sample in instances['samples'] }}"> |
| 157 <any-service-ref ref="{{ instances['sample'] }}"></any-service-r
ef> | 157 <any-service-ref ref="{{ sample }}"> |
| 158 <template if="{{ instances['totalCount'] > instances['sampleCoun
t'] }}"> | 158 </any-service-ref><br> |
| 159 </template> |
| 160 <template if="{{ instances['totalCount'] > instances['samples'].
length }}"> |
| 159 <eval-link callback="{{ reachable }}" | 161 <eval-link callback="{{ reachable }}" |
| 160 label="[more]" | 162 label="[more]" |
| 161 expr="{{ instances['sampleCount'] * 2 }}"> | 163 expr="{{ instances['samples'].length * 2 }}"> |
| 162 </eval-link> | 164 </eval-link> |
| 163 </template> | 165 </template> |
| 164 of total {{ instances['totalCount'] }} | 166 of total {{ instances['totalCount'] }} |
| 165 </template> | 167 </template> |
| 166 </div> | 168 </div> |
| 167 </div> | 169 </div> |
| 168 <div class="memberItem"> | 170 <div class="memberItem"> |
| 169 <div class="memberName">total retained memory size</div> | 171 <div class="memberName">total retained memory size</div> |
| 170 <div class="memberValue"> | 172 <div class="memberValue"> |
| 171 <template if="{{ retainedBytes == null }}"> | 173 <template if="{{ retainedBytes == null }}"> |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 startPos="{{ cls.tokenPos }}" | 209 startPos="{{ cls.tokenPos }}" |
| 208 endPos="{{ cls.endTokenPos }}"> | 210 endPos="{{ cls.endTokenPos }}"> |
| 209 </script-inset> | 211 </script-inset> |
| 210 | 212 |
| 211 <br><br><br><br> | 213 <br><br><br><br> |
| 212 <br><br><br><br> | 214 <br><br><br><br> |
| 213 </template> | 215 </template> |
| 214 </polymer-element> | 216 </polymer-element> |
| 215 | 217 |
| 216 <script type="application/dart" src="class_view.dart"></script> | 218 <script type="application/dart" src="class_view.dart"></script> |
| OLD | NEW |