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

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: Update notes 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: This page will show memory use for all running browsers,
143 not just Chrome.
144 </div>
145 <div class="otherbrowsers" jsdisplay="browsers.length > 1">
146 Note: Chrome includes memory used by plug-ins, other browsers may not.
143 </div> 147 </div>
144 <div class="otherbrowsers"> 148 <div class="otherbrowsers">
145 (Bug: We seriously overcount our own memory usage: <a href="http://crbug .com/25454">Issue 25454</a>.) 149 (Bug: We seriously overcount our own memory usage: <a href="http://crbug .com/25454">Issue 25454</a>.)
146 </div> 150 </div>
147 151
148 <br><br><br> 152 <br><br><br>
149 153
150 <h2> 154 <h2>
151 Processes 155 Processes
152 <div class='help'> 156 <div class="help">
153 <div> 157 <div>
154 <p> 158 <p>
155 Details of memory usage for each of Chromium's processes. 159 Details of memory usage for each of Chromium's processes.
156 </p> 160 </p>
157 </div> 161 </div>
158 </div> 162 </div>
159 </h2> 163 </h2>
160 164
161 <table class='list' id='memoryDetails'> 165 <table class="list" id="memoryDetails">
162 <colgroup> 166 <colgroup>
163 <col class='pid'> 167 <col class="pid">
164 <col class='name'> 168 <col class="name">
165 <col class='number'> 169 <col class="number">
166 <col class='number'> 170 <col class="number">
167 <col class='number'> 171 <col class="number">
168 <col class='number'> 172 <col class="number">
169 </colgroup> 173 </colgroup>
170 <tr class='firstRow doNotFilter'> 174 <tr class="firstRow doNotFilter">
171 <th> 175 <th>
172 </th> 176 </th>
173 <th> 177 <th>
174 </th> 178 </th>
175 <th colspan='4'> 179 <th colspan="4">
176 Memory 180 Memory
177 </th> 181 </th>
178 </tr> 182 </tr>
179 <tr class='secondRow doNotFilter'> 183 <tr class="secondRow doNotFilter">
180 <th class='pid'> 184 <th class="pid">
181 PID 185 PID
182 </th> 186 </th>
183 <th class='name'> 187 <th class="name">
184 Name 188 Name
185 </th> 189 </th>
186 <th class='number'> 190 <th class="number">
187 Resident 191 Resident
188 </th> 192 </th>
189 <th class='number'> 193 <th class="number">
190 Shared 194 Shared
191 </th> 195 </th>
192 <th class='number'> 196 <th class="number">
193 Private 197 Private
194 </th> 198 </th>
195 <th class='number'> 199 <th class="number">
196 Virtual 200 Virtual
197 </th> 201 </th>
198 </tr> 202 </tr>
199 203
200 <tr jsselect="browzr_data"> 204 <tr jsselect="browzr_data">
201 <td class='pid'> 205 <td class="pid">
202 <span class='th' jscontent="pid"></span> 206 <span class="th" jscontent="pid"></span>
203 </td> 207 </td>
204 <td class='name'> 208 <td class="name">
205 <div> 209 <div>
206 Browser 210 Browser
207 </div> 211 </div>
208 </td> 212 </td>
209 <td class='number'> 213 <td class="number">
210 <span class='th' jscontent="formatNumber(ws_shareable)"></span><span class='k'>k</span> 214 <span class="th" jscontent="formatNumber(ws_shareable)"></span><span class="k">k</span>
211 </td> 215 </td>
212 <td class='number'> 216 <td class="number">
213 <span class='th' jscontent="formatNumber(ws_shared)"></span><span cl ass='k'>k</span> 217 <span class="th" jscontent="formatNumber(ws_shared)"></span><span cl ass="k">k</span>
214 </td> 218 </td>
215 <td class='number'> 219 <td class="number">
216 <span class='th' jscontent="formatNumber(ws_priv)"></span><span clas s='k'>k</span> 220 <span class="th" jscontent="formatNumber(ws_priv)"></span><span clas s="k">k</span>
217 </td> 221 </td>
218 <td class='number'> 222 <td class="number">
219 <span class='th' jscontent="formatNumber(comm_priv)"></span><span cl ass='k'>k</span> 223 <span class="th" jscontent="formatNumber(comm_priv)"></span><span cl ass="k">k</span>
220 </td> 224 </td>
221 </tr> 225 </tr>
222 <tr jsselect="child_data"> 226 <tr jsselect="child_data">
223 <td class='pid'> 227 <td class="pid">
224 <span class='th' jscontent="pid"></span> 228 <span class="th" jscontent="pid"></span>
225 </td> 229 </td>
226 <td class='name'> 230 <td class="name">
227 <div jscontent="child_name"></div> 231 <div jscontent="child_name"></div>
228 <div jsselect="titles"> 232 <div jsselect="titles">
229 <span jscontent="$this"></span><br> 233 <span jscontent="$this"></span><br>
230 </div> 234 </div>
231 </td> 235 </td>
232 <td class='number'> 236 <td class="number">
233 <span class='th' jscontent="formatNumber(ws_shareable)"></span><span class='k'>k</span> 237 <span class="th" jscontent="formatNumber(ws_shareable)"></span><span class="k">k</span>
234 </td> 238 </td>
235 <td class='number'> 239 <td class="number">
236 <span class='th' jscontent="formatNumber(ws_shared)"></span><span cl ass='k'>k</span> 240 <span class="th" jscontent="formatNumber(ws_shared)"></span><span cl ass="k">k</span>
237 </td> 241 </td>
238 <td class='number'> 242 <td class="number">
239 <span class='th' jscontent="formatNumber(ws_priv)"></span><span clas s='k'>k</span> 243 <span class="th" jscontent="formatNumber(ws_priv)"></span><span clas s="k">k</span>
240 </td> 244 </td>
241 <td class='number'> 245 <td class="number">
242 <span class='th' jscontent="formatNumber(comm_priv)"></span><span cl ass='k'>k</span> 246 <span class="th" jscontent="formatNumber(comm_priv)"></span><span cl ass="k">k</span>
243 </td> 247 </td>
244 </tr> 248 </tr>
245 249
246 <tr class='noResults'> 250 <tr class="noResults">
247 <td colspan='99'> 251 <td colspan="99">
248 No results found. 252 No results found.
249 </td> 253 </td>
250 </tr> 254 </tr>
251 </table> 255 </table>
252 <div class="otherbrowsers"> 256 <div class="otherbrowsers">
253 (Note: Due to memory sharing between processes, summing memory usage doe s not give total memory usage.) 257 (Note: Due to memory sharing between processes, summing memory usage doe s not give total memory usage.)
254 </div> 258 </div>
255 </div> 259 </div>
256 <script src="chrome://resources/js/jstemplate_compiled.js"></script> 260 <script src="chrome://resources/js/jstemplate_compiled.js"></script>
257 </body> 261 </body>
258 </html> 262 </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