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

Unified Diff: runtime/bin/vmservice/client/deployed/web/index.html

Issue 350573002: Make retained size human-readable. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/deployed/web/index.html
===================================================================
--- runtime/bin/vmservice/client/deployed/web/index.html (revision 37613)
+++ runtime/bin/vmservice/client/deployed/web/index.html (working copy)
@@ -3854,13 +3854,19 @@
<div class="memberItem">
<div class="memberName">shallow size</div>
<div class="memberValue">
- {{ cls.newSpace.current.bytes + cls.oldSpace.current.bytes }}
+ {{ cls.newSpace.current.bytes + cls.oldSpace.current.bytes | formatSize }}
</div>
</div>
<div class="memberItem">
<div class="memberName">retained size</div>
<div class="memberValue">
- <eval-link callback="{{ retainedSize }}"></eval-link>
+ <template if="{{ retainedBytes == null }}">
+ <eval-link callback="{{ retainedSize }}" label="[calculate]">
+ </eval-link>
+ </template>
+ <template if="{{ retainedBytes != null }}">
+ {{ retainedBytes | formatSize }}
+ </template>
</div>
</div>
</template>
@@ -13411,8 +13417,13 @@
<div class="memberItem">
<div class="memberName">retained size</div>
<div class="memberValue">
- <eval-link callback="{{ retainedSize }}" label="[calculate]">
- </eval-link>
+ <template if="{{ retainedBytes == null }}">
+ <eval-link callback="{{ retainedSize }}" label="[calculate]">
+ </eval-link>
+ </template>
+ <template if="{{ retainedBytes != null }}">
+ {{ retainedBytes | formatSize }}
+ </template>
</div>
</div>
<div class="memberItem">
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698