DOM size checker
What is a DOM Size Checker?
The DOM Size Checker counts the total number of elements in a webpage's Document Object Model (DOM) — every HTML tag rendered on the page — to flag pages that may be excessively large or complex.
Why DOM Size Matters
- Rendering performance — A large DOM increases the time browsers spend calculating styles and layout, which can slow down both initial render and runtime interactions.
- Memory usage — Excessive DOM nodes consume more memory, which is especially impactful on lower-end mobile devices.
- Google's guidance — Google's own performance recommendations flag pages with more than ~1,500 DOM nodes as having an excessive DOM size.