| 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 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 The **tracing column in gray** reports memory that is used to collect all of the | 88 The **tracing column in gray** reports memory that is used to collect all of the |
| 89 above information. This memory would not be used if tracing were not enabled, | 89 above information. This memory would not be used if tracing were not enabled, |
| 90 and it is discounted from malloc and the blue columns. | 90 and it is discounted from malloc and the blue columns. |
| 91 | 91 |
| 92 <!-- TODO(primiano): Improve this. https://crbug.com/??? --> | 92 <!-- TODO(primiano): Improve this. https://crbug.com/??? --> |
| 93 | 93 |
| 94 [oilpan]: /third_party/WebKit/Source/platform/heap/BlinkGCDesign.md | 94 [oilpan]: /third_party/WebKit/Source/platform/heap/BlinkGCDesign.md |
| 95 [cc-memory]: /cc/memory.md | 95 [cc-memory]: /cc/memory.md |
| 96 [partalloc]: /third_party/WebKit/Source/wtf/PartitionAlloc.md | 96 [partalloc]: /third_party/WebKit/Source/wtf/PartitionAlloc.md |
| 97 | 97 |
| 98 ## Related Pages |
| 99 |
| 100 * [Heap Profiling with MemoryInfra](heap_profiler.md) |
| 101 |
| 98 ## Rationale | 102 ## Rationale |
| 99 | 103 |
| 100 Another memory profiler? What is wrong with tool X? | 104 Another memory profiler? What is wrong with tool X? |
| 101 Most of the existing tools: | 105 Most of the existing tools: |
| 102 | 106 |
| 103 * Are hard to get working with Chrome. (Massive symbols, require OS-specific | 107 * Are hard to get working with Chrome. (Massive symbols, require OS-specific |
| 104 tricks.) | 108 tricks.) |
| 105 * Lack Chrome-related context. | 109 * Lack Chrome-related context. |
| 106 * Don't deal with multi-process scenarios. | 110 * Don't deal with multi-process scenarios. |
| 107 | 111 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 | 157 |
| 154 Chrome-side design docs: | 158 Chrome-side design docs: |
| 155 | 159 |
| 156 <iframe width="100%" height="300px" src="https://docs.google.com/a/google.com/em
beddedfolderview?id=0B3KuDeqD-lVJfndSa2dleUQtMnZDeWpPZk1JV0QtbVM5STkwWms4YThzQ0p
GTmU1QU9kNVk"> | 160 <iframe width="100%" height="300px" src="https://docs.google.com/a/google.com/em
beddedfolderview?id=0B3KuDeqD-lVJfndSa2dleUQtMnZDeWpPZk1JV0QtbVM5STkwWms4YThzQ0p
GTmU1QU9kNVk"> |
| 157 </iframe> | 161 </iframe> |
| 158 | 162 |
| 159 Catapult-side design docs: | 163 Catapult-side design docs: |
| 160 | 164 |
| 161 <iframe width="100%" height="300px" src="https://docs.google.com/a/google.com/em
beddedfolderview?id=0B3KuDeqD-lVJfm10bXd5YmRNWUpKOElOWS0xdU1tMmV1S3F4aHo0ZDJLTmt
GRy1qVnQtVWM"> | 165 <iframe width="100%" height="300px" src="https://docs.google.com/a/google.com/em
beddedfolderview?id=0B3KuDeqD-lVJfm10bXd5YmRNWUpKOElOWS0xdU1tMmV1S3F4aHo0ZDJLTmt
GRy1qVnQtVWM"> |
| 162 </iframe> | 166 </iframe> |
| OLD | NEW |