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

Unified Diff: bloat/llvm2ice.bloat.html

Issue 917203002: Subzero: Generate a web page showing llvm2ice size breakdown. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Dump the json file into the build directory Created 5 years, 10 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 | « bloat/bloat.py ('k') | bloat/webtreemap.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bloat/llvm2ice.bloat.html
diff --git a/bloat/llvm2ice.bloat.html b/bloat/llvm2ice.bloat.html
new file mode 100644
index 0000000000000000000000000000000000000000..b8575ec97fe22c222a20c017b64362331a83d01e
--- /dev/null
+++ b/bloat/llvm2ice.bloat.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<head>
+<title>Subzero size breakdown</title>
+<script src='../build/llvm2ice.bloat.json'></script>
+<link rel='stylesheet' href='webtreemap.css'>
+<style>
+body {
+ font-family: sans-serif;
+ font-size: 0.8em;
+ margin: 2ex 4ex;
+}
+
+h1 {
+ font-weight: normal;
+}
+
+#map {
+ height: 70vh;
+
+ position: relative;
+ cursor: pointer;
+ -webkit-user-select: none;
+}
+
+#legend {
+ width: 200px;
+}
+</style>
+</head>
+
+<body>
+
+<h1>Subzero size breakdown</h1>
+
+<p>Click on a box to zoom in. Click on the outermost box to zoom out.</p>
+
+<div id='map'></div>
+
+<script src='webtreemap.js'></script>
+
+<script>
+var map = document.getElementById('map');
+appendTreemap(map, kTree);
+</script>
+
+<div id='legend'>
+<div class='webtreemap-symbol-bss'>bss</div>
+<div class='webtreemap-symbol-bss webtreemap-aggregate'>bss aggregate</div>
+<div class='webtreemap-symbol-data'>data</div>
+<div class='webtreemap-symbol-data webtreemap-aggregate'>data aggregate</div>
+<div class='webtreemap-symbol-read-only_data'>read-only data</div>
+<div class='webtreemap-symbol-read-only_data webtreemap-aggregate'>read-only
+data aggregate</div>
+<div class='webtreemap-symbol-code'>code</div>
+<div class='webtreemap-symbol-code webtreemap-aggregate'>code aggregate</div>
+<div class='webtreemap-symbol-weak_symbol'>weak symbol</div>
+<div class='webtreemap-symbol-weak_symbol webtreemap-aggregate'>weak symbol
+aggregate</div>
+</div>
+
+</body>
« no previous file with comments | « bloat/bloat.py ('k') | bloat/webtreemap.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698