What does “document count” in the devtools refer to?

爱⌒轻易说出口 提交于 2019-12-22 07:45:20

问题


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

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.


回答1:


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



来源:https://stackoverflow.com/questions/23214539/what-does-document-count-in-the-devtools-refer-to

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!