| 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="code_ref.html"> | 2 <link rel="import" href="code_ref.html"> |
| 3 <link rel="import" href="function_ref.html"> | 3 <link rel="import" href="function_ref.html"> |
| 4 <link rel="import" href="nav_bar.html"> | 4 <link rel="import" href="nav_bar.html"> |
| 5 <link rel="import" href="observatory_element.html"> | 5 |
| 6 <link rel="import" href="sliding_checkbox.html"> | 6 <link rel="import" href="sliding_checkbox.html"> |
| 7 | 7 |
| 8 <polymer-element name="sample-buffer-control" extends="observatory-element"> | 8 <polymer-element name="sample-buffer-control"> |
| 9 <template> | 9 <template> |
| 10 <link rel="stylesheet" href="css/shared.css"> | 10 <link rel="stylesheet" href="css/shared.css"> |
| 11 <style> | 11 <style> |
| 12 .statusMessage { | 12 .statusMessage { |
| 13 font-size: 150%; | 13 font-size: 150%; |
| 14 font-weight: bold; | 14 font-weight: bold; |
| 15 } | 15 } |
| 16 | 16 |
| 17 .statusBox { | 17 .statusBox { |
| 18 height: 100%; | 18 height: 100%; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 </template> | 107 </template> |
| 108 </div> | 108 </div> |
| 109 </div> | 109 </div> |
| 110 </template> | 110 </template> |
| 111 </div> | 111 </div> |
| 112 </template> | 112 </template> |
| 113 </div> | 113 </div> |
| 114 </template> | 114 </template> |
| 115 </polymer-element> | 115 </polymer-element> |
| 116 | 116 |
| 117 <polymer-element name="stack-trace-tree-config" extends="observatory-element"> | 117 <polymer-element name="stack-trace-tree-config"> |
| 118 <template> | 118 <template> |
| 119 <link rel="stylesheet" href="css/shared.css"> | 119 <link rel="stylesheet" href="css/shared.css"> |
| 120 <style> | 120 <style> |
| 121 .statusBox { | 121 .statusBox { |
| 122 height: 100%; | 122 height: 100%; |
| 123 padding: 0.5em; | 123 padding: 0.5em; |
| 124 } | 124 } |
| 125 .row { | 125 .row { |
| 126 display: flex; | 126 display: flex; |
| 127 } | 127 } |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 </div> | 174 </div> |
| 175 </template> | 175 </template> |
| 176 </div> | 176 </div> |
| 177 </div> | 177 </div> |
| 178 </div> | 178 </div> |
| 179 </template> | 179 </template> |
| 180 </div> | 180 </div> |
| 181 </template> | 181 </template> |
| 182 </polymer-element> | 182 </polymer-element> |
| 183 | 183 |
| 184 <polymer-element name="cpu-profile-tree" extends="observatory-element"> | 184 <polymer-element name="cpu-profile-tree"> |
| 185 <template> | 185 <template> |
| 186 <link rel="stylesheet" href="css/shared.css"> | 186 <link rel="stylesheet" href="css/shared.css"> |
| 187 <style> | 187 <style> |
| 188 .infoBox { | 188 .infoBox { |
| 189 position: absolute; | 189 position: absolute; |
| 190 top: 100%; | 190 top: 100%; |
| 191 left: 0%; | 191 left: 0%; |
| 192 z-index: 999; | 192 z-index: 999; |
| 193 opacity: 1; | 193 opacity: 1; |
| 194 padding: 1em; | 194 padding: 1em; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 <th>Method</th> | 246 <th>Method</th> |
| 247 <th>Executing</th> | 247 <th>Executing</th> |
| 248 </tr> | 248 </tr> |
| 249 </thead> | 249 </thead> |
| 250 <tbody id="treeBody"> | 250 <tbody id="treeBody"> |
| 251 </tbody> | 251 </tbody> |
| 252 </table> | 252 </table> |
| 253 </template> | 253 </template> |
| 254 </polymer-element> | 254 </polymer-element> |
| 255 | 255 |
| 256 <polymer-element name="cpu-profile-virtual-tree" extends="observatory-element"> | 256 <polymer-element name="cpu-profile-virtual-tree"> |
| 257 <template> | 257 <template> |
| 258 <link rel="stylesheet" href="css/shared.css"> | 258 <link rel="stylesheet" href="css/shared.css"> |
| 259 <style> | 259 <style> |
| 260 .full { | 260 .full { |
| 261 height: 50%; | 261 height: 50%; |
| 262 width: 100%; | 262 width: 100%; |
| 263 } | 263 } |
| 264 .coldProfile { | 264 .coldProfile { |
| 265 background-color: #aea; | 265 background-color: #aea; |
| 266 } | 266 } |
| 267 .mediumProfile { | 267 .mediumProfile { |
| 268 background-color: #fe9; | 268 background-color: #fe9; |
| 269 } | 269 } |
| 270 .hotProfile { | 270 .hotProfile { |
| 271 background-color: #faa; | 271 background-color: #faa; |
| 272 } | 272 } |
| 273 </style> | 273 </style> |
| 274 <div id="tree" class="full"></div> | 274 <div id="tree" class="full"></div> |
| 275 </template> | 275 </template> |
| 276 </polymer-element> | 276 </polymer-element> |
| 277 | 277 |
| 278 | 278 |
| 279 <polymer-element name="cpu-profile-table" extends="observatory-element"> | 279 <polymer-element name="cpu-profile-table"> |
| 280 <template> | 280 <template> |
| 281 <link rel="stylesheet" href="css/shared.css"> | 281 <link rel="stylesheet" href="css/shared.css"> |
| 282 <nav-bar> | 282 <nav-bar> |
| 283 <top-nav-menu></top-nav-menu> | 283 <top-nav-menu></top-nav-menu> |
| 284 <vm-nav-menu vm="{{ isolate.vm }}"></vm-nav-menu> | 284 <vm-nav-menu vm="{{ isolate.vm }}"></vm-nav-menu> |
| 285 <isolate-nav-menu isolate="{{ isolate }}"></isolate-nav-menu> | 285 <isolate-nav-menu isolate="{{ isolate }}"></isolate-nav-menu> |
| 286 <nav-menu link="{{ makeLink('/profiler-table', isolate) }}" anchor="cpu pr
ofile (table)" last="{{ true }}"></nav-menu> | 286 <nav-menu link="{{ makeLink('/profiler-table', isolate) }}" anchor="cpu pr
ofile (table)" last="{{ true }}"></nav-menu> |
| 287 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 287 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
| 288 <nav-refresh callback="{{ clearCpuProfile }}" label="Clear"></nav-refresh> | 288 <nav-refresh callback="{{ clearCpuProfile }}" label="Clear"></nav-refresh> |
| 289 <nav-notify notifications="{{ app.notifications }}"></nav-notify> | 289 <nav-notify notifications="{{ app.notifications }}"></nav-notify> |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 <br> | 484 <br> |
| 485 <br> | 485 <br> |
| 486 <div class="flex-row centered"> | 486 <div class="flex-row centered"> |
| 487 <div class="flex-item-90-percent outlined" style="margin: 16px; margin-lef
t: 8px; margin-right: 8px"> | 487 <div class="flex-item-90-percent outlined" style="margin: 16px; margin-lef
t: 8px; margin-right: 8px"> |
| 488 <cpu-profile-virtual-tree id="cpuProfileTree"></cpu-profile-virtual-tree
> | 488 <cpu-profile-virtual-tree id="cpuProfileTree"></cpu-profile-virtual-tree
> |
| 489 </div> | 489 </div> |
| 490 </div> | 490 </div> |
| 491 </template> | 491 </template> |
| 492 </polymer-element> | 492 </polymer-element> |
| 493 | 493 |
| 494 <polymer-element name="cpu-profile" extends="observatory-element"> | 494 <polymer-element name="cpu-profile"> |
| 495 <template> | 495 <template> |
| 496 <link rel="stylesheet" href="css/shared.css"> | 496 <link rel="stylesheet" href="css/shared.css"> |
| 497 <nav-bar> | 497 <nav-bar> |
| 498 <top-nav-menu></top-nav-menu> | 498 <top-nav-menu></top-nav-menu> |
| 499 <vm-nav-menu vm="{{ isolate.vm }}"></vm-nav-menu> | 499 <vm-nav-menu vm="{{ isolate.vm }}"></vm-nav-menu> |
| 500 <isolate-nav-menu isolate="{{ isolate }}"></isolate-nav-menu> | 500 <isolate-nav-menu isolate="{{ isolate }}"></isolate-nav-menu> |
| 501 <nav-menu link="{{ makeLink('/profiler', isolate) }}" anchor="cpu profile"
last="{{ true }}"></nav-menu> | 501 <nav-menu link="{{ makeLink('/profiler', isolate) }}" anchor="cpu profile"
last="{{ true }}"></nav-menu> |
| 502 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 502 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
| 503 <nav-refresh callback="{{ clearCpuProfile }}" label="Clear"></nav-refresh> | 503 <nav-refresh callback="{{ clearCpuProfile }}" label="Clear"></nav-refresh> |
| 504 <nav-notify notifications="{{ app.notifications }}"></nav-notify> | 504 <nav-notify notifications="{{ app.notifications }}"></nav-notify> |
| 505 </nav-bar> | 505 </nav-bar> |
| 506 <style> | 506 <style> |
| 507 .tableWell { | 507 .tableWell { |
| 508 background-color: #ECECEC; | 508 background-color: #ECECEC; |
| 509 padding: 0.2em; | 509 padding: 0.2em; |
| 510 } | 510 } |
| 511 </style> | 511 </style> |
| 512 <sample-buffer-control id="sampleBufferControl"></sample-buffer-control> | 512 <sample-buffer-control id="sampleBufferControl"></sample-buffer-control> |
| 513 <br> | 513 <br> |
| 514 <stack-trace-tree-config id="stackTraceTreeConfig"></stack-trace-tree-config
> | 514 <stack-trace-tree-config id="stackTraceTreeConfig"></stack-trace-tree-config
> |
| 515 <br> | 515 <br> |
| 516 <cpu-profile-virtual-tree id="cpuProfileVirtualTree"></cpu-profile-virtual-t
ree> | 516 <cpu-profile-virtual-tree id="cpuProfileVirtualTree"></cpu-profile-virtual-t
ree> |
| 517 </template> | 517 </template> |
| 518 </polymer-element> | 518 </polymer-element> |
| 519 | 519 |
| 520 <script type="application/dart" src="cpu_profile.dart"></script> | 520 <script type="application/dart" src="cpu_profile.dart"></script> |
| OLD | NEW |