performance-profiling
FeaturedPerformance profiling principles. Measurement, analysis, and optimization techniques.
API & Backend 33,961 stars
4034 forks Updated today MIT
Install
Quality Score: 96/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Performance Profiling
> Measure, analyze, optimize - in that order.
## ๐ง Runtime Scripts
**Execute these for automated profiling:**
| Script | Purpose | Usage |
|--------|---------|-------|
| `scripts/lighthouse_audit.py` | Lighthouse performance audit | `python scripts/lighthouse_audit.py https://example.com` |
---
## 1. Core Web Vitals
### Targets
| Metric | Good | Poor | Measures |
|--------|------|------|----------|
| **LCP** | < 2.5s | > 4.0s | Loading |
| **INP** | < 200ms | > 500ms | Interactivity |
| **CLS** | < 0.1 | > 0.25 | Stability |
### When to Measure
| Stage | Tool |
|-------|------|
| Development | Local Lighthouse |
| CI/CD | Lighthouse CI |
| Production | RUM (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
| Problem | Tool |
|---------|------|
| Page load | Lighthouse |
| Bundle size | Bundle analyzer |
| Runtime | DevTools Performance |
| Memory | DevTools Memory |
| Network | DevTools Network |
---
## 3. Bundle Analysis
### What to Look For
| Issue | Indicator |
|-------|-----------|
| Large dependencies | Top of bundle |
| Duplicate code | Multiple chunks |
| Unused code | Low coverage |
| Missing splits | Single large chunk |
### Optimization Actions
| Finding | Action |
|---------|--------|
| Big library | Import specific modules |...
Details
- Author
- davila7
- Repository
- davila7/claude-code-templates
- Created
- 1 years ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content โ not just same category
API & Backend Listed
performance-profiling
Performance profiling principles. Measurement, analysis, and optimization techniques.
487 Updated today
aiskillstore AI & Automation Featured
performance-profiling
Performance profiling principles. Measurement, analysis, and optimization techniques.
49,938 Updated today
sickn33 API & Backend Listed
performance-profiling
Guides active performance investigation with measure-identify-fix-measure cycle for both frontend and backend. Triggers chrome-devtools for frontend profiling. Use when profiling performance, investigating slow code, optimizing speed, performance issues, slow page, slow API, latency problems, or when something feels sluggish.
0 Updated today
Saturate