JavaScript Memory Profiling: add note about shallow/retained size being in bytes
This commit is contained in:
Родитель
0962e907fc
Коммит
be72583b26
|
@ -170,6 +170,8 @@ The memory graph starts with a root, which may be the `window` object of the bro
|
|||
|
||||
Whatever is not reachable from the root gets GC.
|
||||
|
||||
<p class="note"><strong>Note:</strong> Both the Shallow and Retained size columns represent data in bytes.</p>
|
||||
|
||||
### Object's Retaining Tree
|
||||
|
||||
As we introduced earlier, the heap is a network of interconnected objects. In the mathematical world, this structure is called a *graph* or memory graph. A graph is constructed from *nodes* connected by means of *edges*, both of which are given labels.
|
||||
|
|
Загрузка…
Ссылка в новой задаче