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

Side by Side Diff: chrome/browser/resources/about_memory_mac.html

Issue 38533006: Add a note in chrome://memory for other browsers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: does not --> don't Created 7 years, 1 month 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
« no previous file with comments | « chrome/browser/resources/about_memory_linux.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 2
3 <!-- 3 <!--
4 about:memory template page 4 about:memory template page
5 --> 5 -->
6 <html id="t"> 6 <html id="t">
7 <head> 7 <head>
8 <title>About Memory</title> 8 <title>About Memory</title>
9 <link rel="stylesheet" href="chrome://memory-redirect/about_memory.css"> 9 <link rel="stylesheet" href="chrome://memory-redirect/about_memory.css">
10 <style> 10 <style>
(...skipping 15 matching lines...) Expand all
26 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(7), 26 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(7),
27 table.list#memoryDetails tr.firstRow th:nth-child(2) { 27 table.list#memoryDetails tr.firstRow th:nth-child(2) {
28 border-right: 1px solid #b5c6de; 28 border-right: 1px solid #b5c6de;
29 } 29 }
30 </style> 30 </style>
31 <script src="chrome://resources/js/load_time_data.js"></script> 31 <script src="chrome://resources/js/load_time_data.js"></script>
32 <script src="chrome://memory-redirect/memory.js"></script> 32 <script src="chrome://memory-redirect/memory.js"></script>
33 <script src="chrome://memory-redirect/strings.js"></script> 33 <script src="chrome://memory-redirect/strings.js"></script>
34 </head> 34 </head>
35 <body> 35 <body>
36 <div id='header'> 36 <div id="header">
37 <h1> 37 <h1>
38 About memory 38 About memory
39 </h1> 39 </h1>
40 <p> 40 <p>
41 Measuring memory usage in a multi-process browser 41 Measuring memory usage in a multi-process browser
42 </p> 42 </p>
43 </div> 43 </div>
44 44
45 <div id='content'> 45 <div id="content">
46 <h2> 46 <h2>
47 Summary 47 Summary
48 <div class='help'> 48 <div class="help">
49 <div> 49 <div>
50 <p> 50 <p>
51 Summary of memory used by currently active browsers.<p> 51 Summary of memory used by currently active browsers.<p>
52 For Chromium, processes used to to display diagnostics 52 For Chromium, processes used to to display diagnostics
53 information (such as this "about:memory") are excluded. 53 information (such as this "about:memory") are excluded.
54 </p> 54 </p>
55 </div> 55 </div>
56 </div> 56 </div>
57 </h2> 57 </h2>
58 58
59 <table class='list' id='browserComparison'> 59 <table class="list" id="browserComparison">
60 <colgroup> 60 <colgroup>
61 <col class='name'> 61 <col class="name">
62 <col class='number'> 62 <col class="number">
63 <col class='number'> 63 <col class="number">
64 <col class='number'> 64 <col class="number">
65 <col class='number'> 65 <col class="number">
66 </colgroup> 66 </colgroup>
67 <tr class='firstRow doNotFilter'> 67 <tr class="firstRow doNotFilter">
68 <th> 68 <th>
69 </th> 69 </th>
70 <th colspan='4'> 70 <th colspan="4">
71 Memory 71 Memory
72 <div class='help'> 72 <div class="help">
73 <div> 73 <div>
74 <p> 74 <p>
75 <strong>Memory</strong> 75 <strong>Memory</strong>
76 </p> 76 </p>
77 <p> 77 <p>
78 <strong>Resident:</strong> 78 <strong>Resident:</strong>
79 Amount of memory that is present in physical RAM. 79 Amount of memory that is present in physical RAM.
80 This is the best indicator of browser memory resource usage. 80 This is the best indicator of browser memory resource usage.
81 </p> 81 </p>
82 <p> 82 <p>
(...skipping 11 matching lines...) Expand all
94 Amount of address space allocated in virtual memory. 94 Amount of address space allocated in virtual memory.
95 </p> 95 </p>
96 96
97 <p> 97 <p>
98 <i>(Note that the memory for this tab is not included in the b rowser totals.)</i> 98 <i>(Note that the memory for this tab is not included in the b rowser totals.)</i>
99 </p> 99 </p>
100 </div> 100 </div>
101 </div> 101 </div>
102 </th> 102 </th>
103 </tr> 103 </tr>
104 <tr class='secondRow doNotFilter'> 104 <tr class="secondRow doNotFilter">
105 <th class='name'> 105 <th class="name">
106 Browser 106 Browser
107 </th> 107 </th>
108 <th class='number'> 108 <th class="number">
109 Resident 109 Resident
110 </th> 110 </th>
111 <th class='number'> 111 <th class="number">
112 Shared 112 Shared
113 </th> 113 </th>
114 <th class='number'> 114 <th class="number">
115 Private 115 Private
116 </th> 116 </th>
117 <th class='number'> 117 <th class="number">
118 Virtual 118 Virtual
119 </th> 119 </th>
120 </tr> 120 </tr>
121 <tr jsselect="browsers"> 121 <tr jsselect="browsers">
122 <td class='name'> 122 <td class="name">
123 <div> 123 <div>
124 <strong jscontent="name"></strong> <span jscontent="version"></spa n> 124 <strong jscontent="name"></strong> <span jscontent="version"></spa n>
125 </div> 125 </div>
126 </td> 126 </td>
127 <td class='number'> 127 <td class="number">
128 <span class='th' jscontent="formatNumber(ws_shareable)"></span><span class='k'>k</span> 128 <span class="th" jscontent="formatNumber(ws_shareable)"></span><span class="k">k</span>
129 </td> 129 </td>
130 <td class='number'> 130 <td class="number">
131 <span class='th' jscontent="formatNumber(ws_shared)"></span><span cl ass='k'>k</span> 131 <span class="th" jscontent="formatNumber(ws_shared)"></span><span cl ass="k">k</span>
132 </td> 132 </td>
133 <td class='number'> 133 <td class="number">
134 <span class='th' jscontent="formatNumber(ws_priv)"></span><span clas s='k'>k</span> 134 <span class="th" jscontent="formatNumber(ws_priv)"></span><span clas s="k">k</span>
135 </td> 135 </td>
136 <td class='number'> 136 <td class="number">
137 <span class='th' jscontent="formatNumber(comm_priv)"></span><span cl ass='k'>k</span> 137 <span class="th" jscontent="formatNumber(comm_priv)"></span><span cl ass="k">k</span>
138 </td> 138 </td>
139 </tr> 139 </tr>
140 </table> 140 </table>
141 <div class=otherbrowsers jsdisplay="browsers.length == 1"> 141 <div class="otherbrowsers" jsdisplay="browsers.length == 1">
142 Note: If other browsers (e.g., Safari, Firefox, Camino) are running, I'l l show their memory details here. 142 Note: If other browsers (e.g. Safari, Firefox, Camino) are running,
143 I'll show their memory details here.
arv (Not doing code reviews) 2013/10/30 16:58:02 "I'll show" sounds too colloquial. Is this what th
144 </div>
145 <div class="otherbrowsers" jsdisplay="browsers.length > 1">
146 Note: The memory details reported for some other browsers (e.g. Safari,
147 Firefox, Camino) typically don't include the memory used by plugins such
148 as Flash.
143 </div> 149 </div>
144 <div class="otherbrowsers"> 150 <div class="otherbrowsers">
145 (Bug: We seriously overcount our own memory usage: <a href="http://crbug .com/25454">Issue 25454</a>.) 151 (Bug: We seriously overcount our own memory usage: <a href="http://crbug .com/25454">Issue 25454</a>.)
146 </div> 152 </div>
147 153
148 <br><br><br> 154 <br><br><br>
149 155
150 <h2> 156 <h2>
151 Processes 157 Processes
152 <div class='help'> 158 <div class="help">
153 <div> 159 <div>
154 <p> 160 <p>
155 Details of memory usage for each of Chromium's processes. 161 Details of memory usage for each of Chromium's processes.
156 </p> 162 </p>
157 </div> 163 </div>
158 </div> 164 </div>
159 </h2> 165 </h2>
160 166
161 <table class='list' id='memoryDetails'> 167 <table class="list" id="memoryDetails">
162 <colgroup> 168 <colgroup>
163 <col class='pid'> 169 <col class="pid">
164 <col class='name'> 170 <col class="name">
165 <col class='number'> 171 <col class="number">
166 <col class='number'> 172 <col class="number">
167 <col class='number'> 173 <col class="number">
168 <col class='number'> 174 <col class="number">
169 </colgroup> 175 </colgroup>
170 <tr class='firstRow doNotFilter'> 176 <tr class="firstRow doNotFilter">
171 <th> 177 <th>
172 </th> 178 </th>
173 <th> 179 <th>
174 </th> 180 </th>
175 <th colspan='4'> 181 <th colspan="4">
176 Memory 182 Memory
177 </th> 183 </th>
178 </tr> 184 </tr>
179 <tr class='secondRow doNotFilter'> 185 <tr class="secondRow doNotFilter">
180 <th class='pid'> 186 <th class="pid">
181 PID 187 PID
182 </th> 188 </th>
183 <th class='name'> 189 <th class="name">
184 Name 190 Name
185 </th> 191 </th>
186 <th class='number'> 192 <th class="number">
187 Resident 193 Resident
188 </th> 194 </th>
189 <th class='number'> 195 <th class="number">
190 Shared 196 Shared
191 </th> 197 </th>
192 <th class='number'> 198 <th class="number">
193 Private 199 Private
194 </th> 200 </th>
195 <th class='number'> 201 <th class="number">
196 Virtual 202 Virtual
197 </th> 203 </th>
198 </tr> 204 </tr>
199 205
200 <tr jsselect="browzr_data"> 206 <tr jsselect="browzr_data">
201 <td class='pid'> 207 <td class="pid">
202 <span class='th' jscontent="pid"></span> 208 <span class="th" jscontent="pid"></span>
203 </td> 209 </td>
204 <td class='name'> 210 <td class="name">
205 <div> 211 <div>
206 Browser 212 Browser
207 </div> 213 </div>
208 </td> 214 </td>
209 <td class='number'> 215 <td class="number">
210 <span class='th' jscontent="formatNumber(ws_shareable)"></span><span class='k'>k</span> 216 <span class="th" jscontent="formatNumber(ws_shareable)"></span><span class="k">k</span>
211 </td> 217 </td>
212 <td class='number'> 218 <td class="number">
213 <span class='th' jscontent="formatNumber(ws_shared)"></span><span cl ass='k'>k</span> 219 <span class="th" jscontent="formatNumber(ws_shared)"></span><span cl ass="k">k</span>
214 </td> 220 </td>
215 <td class='number'> 221 <td class="number">
216 <span class='th' jscontent="formatNumber(ws_priv)"></span><span clas s='k'>k</span> 222 <span class="th" jscontent="formatNumber(ws_priv)"></span><span clas s="k">k</span>
217 </td> 223 </td>
218 <td class='number'> 224 <td class="number">
219 <span class='th' jscontent="formatNumber(comm_priv)"></span><span cl ass='k'>k</span> 225 <span class="th" jscontent="formatNumber(comm_priv)"></span><span cl ass="k">k</span>
220 </td> 226 </td>
221 </tr> 227 </tr>
222 <tr jsselect="child_data"> 228 <tr jsselect="child_data">
223 <td class='pid'> 229 <td class="pid">
224 <span class='th' jscontent="pid"></span> 230 <span class="th" jscontent="pid"></span>
225 </td> 231 </td>
226 <td class='name'> 232 <td class="name">
227 <div jscontent="child_name"></div> 233 <div jscontent="child_name"></div>
228 <div jsselect="titles"> 234 <div jsselect="titles">
229 <span jscontent="$this"></span><br> 235 <span jscontent="$this"></span><br>
230 </div> 236 </div>
231 </td> 237 </td>
232 <td class='number'> 238 <td class="number">
233 <span class='th' jscontent="formatNumber(ws_shareable)"></span><span class='k'>k</span> 239 <span class="th" jscontent="formatNumber(ws_shareable)"></span><span class="k">k</span>
234 </td> 240 </td>
235 <td class='number'> 241 <td class="number">
236 <span class='th' jscontent="formatNumber(ws_shared)"></span><span cl ass='k'>k</span> 242 <span class="th" jscontent="formatNumber(ws_shared)"></span><span cl ass="k">k</span>
237 </td> 243 </td>
238 <td class='number'> 244 <td class="number">
239 <span class='th' jscontent="formatNumber(ws_priv)"></span><span clas s='k'>k</span> 245 <span class="th" jscontent="formatNumber(ws_priv)"></span><span clas s="k">k</span>
240 </td> 246 </td>
241 <td class='number'> 247 <td class="number">
242 <span class='th' jscontent="formatNumber(comm_priv)"></span><span cl ass='k'>k</span> 248 <span class="th" jscontent="formatNumber(comm_priv)"></span><span cl ass="k">k</span>
243 </td> 249 </td>
244 </tr> 250 </tr>
245 251
246 <tr class='noResults'> 252 <tr class="noResults">
247 <td colspan='99'> 253 <td colspan="99">
248 No results found. 254 No results found.
249 </td> 255 </td>
250 </tr> 256 </tr>
251 </table> 257 </table>
252 <div class="otherbrowsers"> 258 <div class="otherbrowsers">
253 (Note: Due to memory sharing between processes, summing memory usage doe s not give total memory usage.) 259 (Note: Due to memory sharing between processes, summing memory usage doe s not give total memory usage.)
254 </div> 260 </div>
255 </div> 261 </div>
256 <script src="chrome://resources/js/jstemplate_compiled.js"></script> 262 <script src="chrome://resources/js/jstemplate_compiled.js"></script>
257 </body> 263 </body>
258 </html> 264 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/about_memory_linux.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698