Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # MemoryInfra | 1 # MemoryInfra |
| 2 | 2 |
| 3 MemoryInfra is a timeline-based profiling system integrated in chrome://tracing. | 3 MemoryInfra is a timeline-based profiling system integrated in chrome://tracing. |
| 4 It aims at creating Chrome-scale memory measurement tooling so that on any | 4 It aims at creating Chrome-scale memory measurement tooling so that on any |
| 5 Chrome in the world --- desktop, mobile, Chrome OS or any other --- with the | 5 Chrome in the world --- desktop, mobile, Chrome OS or any other --- with the |
| 6 click of a button you can understand where memory is being used in your system. | 6 click of a button you can understand where memory is being used in your system. |
| 7 | 7 |
| 8 [TOC] | 8 [TOC] |
| 9 | 9 |
| 10 ## Getting Started | 10 ## Getting Started |
| 11 | 11 |
| 12 1. Get a bleeding-edge or tip-of-tree build of Chrome. | 12 1. Get a bleeding-edge or tip-of-tree build of Chrome. |
| 13 | 13 |
| 14 2. [Record a trace as usual][record-trace]: open [chrome://tracing][tracing] | 14 2. [Record a trace as usual][record-trace]: open [chrome://tracing][tracing] |
| 15 on Desktop Chrome or [chrome://inspect?tracing][inspect-tracing] to trace | 15 on Desktop Chrome or [chrome://inspect?tracing][inspect-tracing] to trace |
| 16 Chrome for Android. | 16 Chrome for Android. |
| 17 | 17 |
| 18 3. Make sure to enable the **memory-infra** category on the right. | 18 3. Make sure to enable the **memory-infra** category on the right. |
| 19 | 19 |
| 20 ![Tick the memory-infra checkbox when recording a trace.][memory-infra-box ] | 20 ![Tick the memory-infra checkbox when recording a trace.][memory-infra-box ] |
| 21 | 21 |
| 22 4. For now, some subsystems only work if Chrome is started with the | |
|
Primiano Tucci (use gerrit)
2016/01/21 16:58:52
I think you want to keep this for a while, as ppl
ssid
2016/01/25 14:44:53
Done.
| |
| 23 `--no-sandbox` flag. | |
| 24 <!-- TODO(primiano) TODO(ssid): https://crbug.com/461788 --> | |
| 25 | |
| 26 [record-trace]: https://sites.google.com/a/chromium.org/dev/developers/how-t os/trace-event-profiling-tool/recording-tracing-runs | 22 [record-trace]: https://sites.google.com/a/chromium.org/dev/developers/how-t os/trace-event-profiling-tool/recording-tracing-runs |
| 27 [tracing]: chrome://tracing | 23 [tracing]: chrome://tracing |
| 28 [inspect-tracing]: chrome://inspect?tracing | 24 [inspect-tracing]: chrome://inspect?tracing |
| 29 [memory-infra-box]: https://drive.google.com/uc?export=view&id=0Bx14iZPZRgb5RHBJ M1llY1g4cDg | 25 [memory-infra-box]: https://drive.google.com/uc?export=view&id=0Bx14iZPZRgb5RHBJ M1llY1g4cDg |
| 30 | 26 |
| 31 ![Timeline View and Analysis View][tracing-views] | 27 ![Timeline View and Analysis View][tracing-views] |
| 32 | 28 |
| 33 After recording a trace, you will see the **timeline view**. Timeline view | 29 After recording a trace, you will see the **timeline view**. Timeline view |
| 34 shows: | 30 shows: |
| 35 | 31 |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 159 | 155 |
| 160 Chrome-side design docs: | 156 Chrome-side design docs: |
| 161 | 157 |
| 162 <iframe width="100%" height="300px" src="https://docs.google.com/a/google.com/em beddedfolderview?id=0B3KuDeqD-lVJfndSa2dleUQtMnZDeWpPZk1JV0QtbVM5STkwWms4YThzQ0p GTmU1QU9kNVk"> | 158 <iframe width="100%" height="300px" src="https://docs.google.com/a/google.com/em beddedfolderview?id=0B3KuDeqD-lVJfndSa2dleUQtMnZDeWpPZk1JV0QtbVM5STkwWms4YThzQ0p GTmU1QU9kNVk"> |
| 163 </iframe> | 159 </iframe> |
| 164 | 160 |
| 165 Catapult-side design docs: | 161 Catapult-side design docs: |
| 166 | 162 |
| 167 <iframe width="100%" height="300px" src="https://docs.google.com/a/google.com/em beddedfolderview?id=0B3KuDeqD-lVJfm10bXd5YmRNWUpKOElOWS0xdU1tMmV1S3F4aHo0ZDJLTmt GRy1qVnQtVWM"> | 163 <iframe width="100%" height="300px" src="https://docs.google.com/a/google.com/em beddedfolderview?id=0B3KuDeqD-lVJfm10bXd5YmRNWUpKOElOWS0xdU1tMmV1S3F4aHo0ZDJLTmt GRy1qVnQtVWM"> |
| 168 </iframe> | 164 </iframe> |
| OLD | NEW |