 Chromium Code Reviews
 Chromium Code Reviews Issue 917203002:
  Subzero: Generate a web page showing llvm2ice size breakdown.  (Closed) 
  Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
    
  
    Issue 917203002:
  Subzero: Generate a web page showing llvm2ice size breakdown.  (Closed) 
  Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master| OLD | NEW | 
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <title>Subzero size breakdown</title> | |
| 
JF
2015/02/12 17:20:28
<head>
 
Jim Stichnoth
2015/02/12 18:39:50
Done.
 | |
| 3 <script src=../llvm2ice.bloat.json></script> | |
| 4 <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.
 | |
| 5 <style> | |
| 6 body { | |
| 7 font-family: sans-serif; | |
| 8 font-size: 0.8em; | |
| 9 margin: 2ex 4ex; | |
| 10 } | |
| 11 | |
| 12 h1 { | |
| 13 font-weight: normal; | |
| 14 } | |
| 15 | |
| 16 #map { | |
| 17 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. :)
 | |
| 18 | |
| 19 position: relative; | |
| 20 cursor: pointer; | |
| 21 -webkit-user-select: none; | |
| 22 } | |
| 23 </style> | |
| 24 | |
| 
JF
2015/02/12 17:20:28
Why no <body>?
 
Jim Stichnoth
2015/02/12 18:39:50
Done.
 | |
| 25 <h1>Subzero size breakdown</h1> | |
| 26 | |
| 27 <p>Click on a box to zoom in. Click on the outermost box to zoom out.</p> | |
| 28 | |
| 29 <div id='map'></div> | |
| 30 | |
| 31 <script src='webtreemap.js'></script> | |
| 32 | |
| 33 <script> | |
| 34 var map = document.getElementById('map'); | |
| 35 appendTreemap(map, kTree); | |
| 36 </script> | |
| OLD | NEW |