How does Performance Monitor uses to calculate DOM nodes?

9 views
Skip to first unread message

米粒melxy

unread,
Dec 22, 2024, 5:39:08 PM12/22/24
to Chrome DevTools

Is there a JavaScript equivalent to Performance Monitor's "DOM Nodes" count? 

This count include live and detached nodes. 

Can I access this value programmatically?

(Background: I noticed that the DOM nodes of our pages are growing but can be successfully GC'd, and I'm trying to find the code that's causing the problem. However, it's not very easy to reproduce)

Reply all
Reply to author
Forward
0 new messages