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

Side by Side Diff: runtime/bin/vmservice/client/deployed/web/index_devtools.html

Issue 351703002: Class view: list all/sample instances on request. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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
1 <!DOCTYPE html><html><head> 1 <!DOCTYPE html><html><head>
2 <title>Dart VM Observatory</title> 2 <title>Dart VM Observatory</title>
3 <meta charset="utf-8"> 3 <meta charset="utf-8">
4 4
5 5
6 6
7 7
8 8
9 9
10 10
(...skipping 3832 matching lines...) Expand 10 before | Expand all | Expand 10 after
3843 <function-ref ref="{{ function }}" qualified="{{ false }}"> 3843 <function-ref ref="{{ function }}" qualified="{{ false }}">
3844 </function-ref> 3844 </function-ref>
3845 </div> 3845 </div>
3846 </div> 3846 </div>
3847 </template> 3847 </template>
3848 </div> 3848 </div>
3849 </curly-block><br><br> 3849 </curly-block><br><br>
3850 </template> 3850 </template>
3851 3851
3852 <template if="{{ !cls.hasNoAllocations }}"> 3852 <template if="{{ !cls.hasNoAllocations }}">
3853 current instances ({{ cls.newSpace.current.instances + cls.oldSpace.curr ent.instances }}) 3853 instances
3854 <div class="memberItem"> 3854 <div class="memberItem">
3855 <div class="memberName">shallow size</div> 3855 <div class="memberName">currently allocated</div>
3856 <div class="memberValue"> 3856 <div class="memberValue">
3857 {{ cls.newSpace.current.bytes + cls.oldSpace.current.bytes | forma tSize }} 3857 count {{ cls.newSpace.current.instances + cls.oldSpace.current.ins tances }}
3858 (shallow size {{ cls.newSpace.current.bytes + cls.oldSpace.current .bytes | formatSize }})
3859 </div>
3860 </div>
3861 <div class="memberItem">
3862 <div class="memberName">strongly reachable</div>
3863 <div class="memberValue">
3864 <template if="{{ instances == null }}">
3865 <eval-link callback="{{ reachable }}" label="[find]" expr="100">
3866 </eval-link>
3867 </template>
3868 <template if="{{ instances != null }}">
3869 sample
3870 <instance-ref ref="{{ instances['sample'] }}"></instance-ref>
3871 <template if="{{ instances['totalCount'] > instances['sampleCoun t'] }}">
3872 <eval-link callback="{{ reachable }}" label="[more]" expr="{{ instances['sampleCount'] * 2 }}">
3873 </eval-link>
3874 </template>
3875 of total {{ instances['totalCount'] }}
3876 </template>
3858 </div> 3877 </div>
3859 </div> 3878 </div>
3860 <div class="memberItem"> 3879 <div class="memberItem">
3861 <div class="memberName">retained size</div> 3880 <div class="memberName">retained size</div>
3862 <div class="memberValue"> 3881 <div class="memberValue">
3863 <template if="{{ retainedBytes == null }}"> 3882 <template if="{{ retainedBytes == null }}">
3864 <eval-link callback="{{ retainedSize }}" label="[calculate]"> 3883 <eval-link callback="{{ retainedSize }}" label="[calculate]">
3865 </eval-link> 3884 </eval-link>
3866 </template> 3885 </template>
3867 <template if="{{ retainedBytes != null }}"> 3886 <template if="{{ retainedBytes != null }}">
(...skipping 12651 matching lines...) Expand 10 before | Expand all | Expand 10 after
16519 <a on-click="{{ goto }}" href="{{ url }}">{{ ref.name }}</a> 16538 <a on-click="{{ goto }}" href="{{ url }}">{{ ref.name }}</a>
16520 </template> 16539 </template>
16521 </polymer-element> 16540 </polymer-element>
16522 16541
16523 16542
16524 16543
16525 16544
16526 <observatory-application devtools="true"></observatory-application> 16545 <observatory-application devtools="true"></observatory-application>
16527 16546
16528 <script type="application/dart" src="index_devtools.html_bootstrap.dart"></scrip t><script src="packages/browser/dart.js"></script></body></html> 16547 <script type="application/dart" src="index_devtools.html_bootstrap.dart"></scrip t><script src="packages/browser/dart.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698