dom-churn-profiler

Identifies DOM subtrees causing excessive mutations and long animation frames via observer instrumentation.

1|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/anouar1991/binaryPetsClaude --skill dom-churn-profiler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dom-churn-profiler
Source: https://github.com/anouar1991/binaryPetsClaude/tree/main/plugins/playwright-toolkit/skills/dom-churn-profiler
Command: npx skills add https://github.com/anouar1991/binaryPetsClaude --skill dom-churn-profiler

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Identify the DOM subtrees responsible for excessive mutations and visual jank by instrumenting MutationObserver and Long Animation Frame data, enabling precise root-cause analysis of performance issues.

Core Features & Use Cases

  • Inject MutationObserver and PerformanceObserver-based instrumentation to record mutations, timestamps, and frame data.
  • Harvest and correlate DOM churn with long animation frames to pinpoint destabilizing subtree(s).
  • Generate concise top-subtree reports and frame-level correlations to guide targeted optimizations for React, Vue, or vanilla apps.

Quick Start

Install the DOM churn profiler on the target page, perform representative interactions to generate churn, then harvest and review the top mutating subtrees.

Frequently Asked Questions about dom-churn-profiler

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify which DOM subtrees are causing excessive mutations and jank?

You can identify DOM subtrees causing jank by instrumenting MutationObserver and long-animation-frame data to correlate excessive mutations with dropped frames and pinpoint destabilizing subtrees.

What is the best way to profile DOM churn in a single-page application?

The best way to profile DOM churn in single-page applications is to inject MutationObserver and PerformanceObserver instrumentation to record mutations, harvest frame data, and generate top-subtree reports.

Does this DOM churn profiler work with React and Vue?

Yes, the DOM churn profiler works with modern single-page applications including React, Vue, and Svelte to debug scenarios where frequent DOM updates cause jank and dropped frames.

How do I find the root cause of long animation frames and visual jank?

To find the root cause of long animation frames, harvest and correlate DOM churn data with long-animation-frame metrics to pinpoint the specific subtrees responsible for performance degradation.

What do I need to start debugging frequent DOM updates and dropped frames?

To start debugging dropped frames, install the DOM churn profiler on the target page, perform representative interactions to generate churn, then harvest and review the top mutating subtrees.

Why does my web app still have jank after optimizing render cycles?

Your web app may still have jank because undetected DOM churn from specific subtrees is destabilizing frames, which requires correlating MutationObserver data with long-animation-frame metrics to isolate.