Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Commit cf9cb23

Browse files
authored
Updated refs to renamed features (#2091)
Timeline and Profiles have been replaced by Performance and Memory, with some features inside these changing names too
1 parent cda1829 commit cf9cb23

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • site/en/docs/devtools/memory-problems

site/en/docs/devtools/memory-problems/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ These two columns tell you different things about how your page is using memory:
7676
represents how much memory the reachable objects on your page are using. If this number is
7777
increasing, either new objects are being created, or the existing objects are growing.
7878

79-
## Visualize memory leaks with Timeline recordings {: #visualize_memory_leaks_with_timeline_recordings }
79+
## Visualize memory leaks with Performance recordings {: #visualize_memory_leaks_with_timeline_recordings }
8080

81-
You can also use the Timeline panel as another starting point in your investigation. The Timeline
81+
You can also use the Performance panel as another starting point in your investigation. The Performance
8282
panel helps you visualize a page's memory use over time.
8383

84-
1. Open the **Timeline** panel on DevTools.
84+
1. Open the **Performance** panel on DevTools.
8585
2. Enable the **Memory** checkbox.
8686
3. [Make a recording][2].
8787

@@ -90,7 +90,7 @@ the **collect garbage** button
9090
({% Img src="image/admin/Qkf1EfUFRSoRsCEMVHdY.png", alt="force garbage collection button", width="18", height="20" %})
9191
while recording to force garbage collection.
9292

93-
To demonstrate Timeline memory recordings, consider the code below:
93+
To demonstrate Performance memory recordings, consider the code below:
9494

9595
```js
9696
var x = [];
@@ -159,7 +159,7 @@ Heap snapshots are one way to identify detached nodes. As the name implies, heap
159159
how memory is distributed among your page's JS objects and DOM nodes at the point of time of the
160160
snapshot.
161161

162-
To create a snapshot, open DevTools and go to the **Profiles** panel, select the **Take Heap
162+
To create a snapshot, open DevTools and go to the **Memory** panel, select the **Heap
163163
Snapshot** radio button, and then press the **Take Snapshot** button.
164164

165165
{% Img src="image/admin/cZnWVusrPfoLR9R9edO1.png", alt="take heap snapshot", width="800", height="353" %}
@@ -233,11 +233,11 @@ you'd be able to see that it was allocated to the `x` variable in the `Window` s
233233

234234
## Investigate memory allocation by function {: #allocation-profile }
235235

236-
Use the **Record Allocation Profiler** type to view memory allocation by JavaScript function.
236+
Use the **Allocation Sampling** type in the **Memory** panel to view memory allocation by JavaScript function.
237237

238238
{% Img src="image/admin/EiRjVwtHv1eh7idYWz37.png", alt="Record Allocation Profiler", width="800", height="564" %}
239239

240-
1. Select the **Record Allocation Profiler** radio button. If there is a worker on the page, you
240+
1. Select the **Allocation Sampling** radio button. If there is a worker on the page, you
241241
can select that as the profiling target using the dropdown menu next to the **Start** button.
242242
2. Press the **Start** button.
243243
3. Perform the actions on the page which you want to investigate.

0 commit comments

Comments
 (0)