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

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: 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
Index: bloat/llvm2ice.bloat.html
diff --git a/bloat/llvm2ice.bloat.html b/bloat/llvm2ice.bloat.html
new file mode 100644
index 0000000000000000000000000000000000000000..00fbf699f3f1373e2f5ded1ac17a1ee746813edc
--- /dev/null
+++ b/bloat/llvm2ice.bloat.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<title>Subzero size breakdown</title>
JF 2015/02/12 17:20:28 <head>
Jim Stichnoth 2015/02/12 18:39:50 Done.
+<script src=../llvm2ice.bloat.json></script>
+<link rel=stylesheet href=webtreemap.css>
JF 2015/02/12 17:20:28 Quotes around elements!
Jim Stichnoth 2015/02/12 18:39:50 Done.
+<style>
+body {
+ font-family: sans-serif;
+ font-size: 0.8em;
+ margin: 2ex 4ex;
+}
+
+h1 {
+ font-weight: normal;
+}
+
+#map {
+ height: 85vh;
JF 2015/02/12 17:20:28 Woah, I didn't know about vw and vh.
Jim Stichnoth 2015/02/12 18:39:50 Me neither, but that's not saying much. :)
+
+ position: relative;
+ cursor: pointer;
+ -webkit-user-select: none;
+}
+</style>
+
JF 2015/02/12 17:20:28 Why no <body>?
Jim Stichnoth 2015/02/12 18:39:50 Done.
+<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>
« Makefile.standalone ('K') | « bloat/bloat.py ('k') | bloat/webtreemap.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698