Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/heap_profile.html

Issue 51653006: Track live instance and allocation counts for classes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <head>
2 <link rel="import" href="class_ref.html">
3 <link rel="import" href="observatory_element.html">
4 </head>
5 <polymer-element name="heap-profile" extends="observatory-element">
6 <template>
7 <div>
8 <span>
9 Top
10 <select selectedIndex="{{classCountSelected}}" value="{{classCounts[classC ountSelected]}}">
11 <option template repeat="{{count in classCounts}}">{{count}}</option>
12 </select>
13 Classes
14 </span>
15 </div>
16 <div>
17 </div>
18 <div>
19 <span>New Space </span>
20 <span>{{ status(true) }}</span>
21 </div>
22 <table class="table table-hover">
23 <thead>
24 <tr>
25 <th>Class</th>
26 <th>Current</th>
27 <th>Allocated since GC</th>
28 <th>Total before last GC</th>
29 <th>Total after last GC</th>
30 </tr>
31 </thead>
32 <tbody>
33 <tr template repeat="{{ cls in sortedProfileNewSpace }}">
34 <td><class-ref app="{{ app }}" ref="{{ cls['class'] }}"></class-ref></td>
35 <td>{{ current(cls, true) }}</td>
36 <td>{{ allocated(cls, true) }}</td>
37 <td>{{ beforeGC(cls, true) }}</td>
38 <td>{{ afterGC(cls, true) }}</td>
39 </tr>
40 </tbody>
41 </table>
42 <div>
43 <span>Old Space </span>
44 <span>{{ status(false) }}</span>
45 </div>
46 <table class="table table-hover">
47 <thead>
48 <tr>
49 <th>Class</th>
50 <th>Current</th>
51 <th>Allocated since GC</th>
52 <th>Total before last GC</th>
53 <th>Total after last GC</th>
54 </tr>
55 </thead>
56 <tbody>
57 <tr template repeat="{{ cls in sortedProfileOldSpace }}">
58 <td><class-ref app="{{ app }}" ref="{{ cls['class'] }}"></class-ref></td>
59 <td>{{ current(cls, false) }}</td>
60 <td>{{ allocated(cls, true) }}</td>
61 <td>{{ beforeGC(cls, false) }}</td>
62 <td>{{ afterGC(cls, false) }}</td>
63 </tr>
64 </tbody>
65 </table>
66 </template>
67 <script type="application/dart" src="heap_profile.dart"></script>
68 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698