Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does "document count" in the devtools refer to?

You can see the word "Document Count" in Chrome DevTools.

(source: chrome.com)

What is it?

For example, recording the below website, the number of documents is 8 or 9. https://developers.google.com/chrome-developer-tools/docs/javascript-memory-profiling?hl=it#dominators

This is a question of a tool but I think this could be a question of HTML, so I'm asking here.

like image 618
Nigiri Avatar asked Apr 22 '14 08:04

Nigiri


1 Answers

The "Document Count" maintains a count of the number of documents used by your application over time, that are held in memory (not garbage collected). Iframes on your page along with their documents are also counted here. This counter may contribute in helping you identify what events in your application may be leading to a memory leak.

Please see the link below: https://developers.google.com/chrome-developer-tools/docs/timeline

like image 164
Alina Avatar answered Oct 28 '22 11:10

Alina