Skip to content
vudovn avatar

Performance Profiling

Performance profiling guide that measures Core Web Vitals and bottlenecks before any optimization changes.

CCM score
41 of 100
skills.sh installs
214
GitHub stars
8.2K
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the 4-step baseline, identify, fix, and validate workflow, plus Core Web Vitals targets for LCP, INP, and CLS
  • Includes tool selection tables for bundle analysis, runtime and memory profiling, and common symptom-to-cause diagnosis
  • Provides a scripts/lighthouse_audit.py runner that audits a URL, invoked as python scripts/lighthouse_audit.py <url>
  • Designed for diagnosing slow page loads, janky scrolling, and memory growth, and for running Lighthouse audits

Install

$ npx -y skills add vudovn/ag-kit --skill performance-profiling -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Performance Profiling

Measure, analyze, optimize - in that order.

πŸ”§ Runtime Scripts

Execute these for automated profiling:

ScriptPurposeUsage
scripts/lighthouse_audit.pyLighthouse performance auditpython scripts/lighthouse_audit.py https://example.com

1. Core Web Vitals

Targets

MetricGoodPoorMeasures
LCP< 2.5s> 4.0sLoading
INP< 200ms> 500msInteractivity
CLS< 0.1> 0.25Stability

When to Measure

StageTool
DevelopmentLocal Lighthouse
CI/CDLighthouse CI
ProductionRUM (Real User Monitoring)

2. Profiling Workflow

The 4-Step Process

1. BASELINE β†’ Measure current state
2. IDENTIFY β†’ Find the bottleneck
3. FIX β†’ Make targeted change
4. VALIDATE β†’ Confirm improvement

Profiling Tool Selection

ProblemTool
Page loadLighthouse
Bundle sizeBundle analyzer
RuntimeDevTools Performance
MemoryDevTools Memory
NetworkDevTools Network

3. Bundle Analysis

What to Look For

Details

Repository
github.com/vudovn/ag-kit
Categories
Debugging, Frontend & UI Code
First seen
Jun 3, 2026

More from vudovn/ag-kit

All 30

Similar to Performance Profiling

More Debugging