본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)48k · #5431

performance-profiling

하는 일

이 도구는 웹사이트와 앱을 느리게 만드는 문제를 찾고 고치도록 돕습니다. 성능을 측정하고, 느려지는 원인을 찾고, 해결 방법을 제안합니다.

사용하는 경우

  • ✓웹사이트 로딩이 느릴 때.
  • ✓앱의 반응이 뒤처질 때.
  • ✓모든 사용자에게 사이트가 빠르도록 하고 싶을 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/performance-profiling/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/performance-profiling/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“https://mysite.com 웹사이트의 성능을 분석해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 프로그램을 사용해 사이트의 로딩 속도, 반응성, 안정성을 측정합니다. 그다음 파일 크기를 줄이거나 코드를 최적화하는 등 개선이 필요한 부분을 보여 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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
Duplicate deps Dedupe, update versions
Route in main Code split
Unused exports Tree shake

4. Runtime Profiling

Performance Tab Analysis

Pattern Meaning
Long tasks (>50ms) UI blocking
Many small tasks Possible batching opportunity
Layout/paint Rendering bottleneck
Script JavaScript execution

Memory Tab Analysis

Pattern Meaning
Growing heap Possible leak
Large retained Check references
Detached DOM Not cleaned up

5. Common Bottlenecks

By Symptom

Symptom Likely Cause
Slow initial load Large JS, render blocking
Slow interactions Heavy event handlers
Jank during scroll Layout thrashing
Growing memory Leaks, retained refs

6. Quick Win Priorities

Priority Action Impact
1 Enable compression High
2 Lazy load images High
3 Code split routes High
4 Cache static assets Medium
5 Optimize images Medium

7. Anti-Patterns

❌ Don't ✅ Do
Guess at problems Profile first
Micro-optimize Fix biggest issue
Optimize early Optimize when needed
Ignore real users Use RUM data

Remember: The fastest code is code that doesn't run. Remove before optimizing.

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
자주 묻는 질문

‘Core Web Vitals’란 무엇인가요?

페이지 로딩, 상호작용성, 화면 안정성에 관한 사용자 경험을 측정하는 핵심 지표입니다.

번들 크기 최적화와 런타임 최적화의 차이는 무엇인가요?

번들 크기 최적화는 브라우저가 내려받는 파일의 크기를 줄이는 데 집중합니다. 런타임 최적화는 내려받은 뒤 코드가 더 빠르게 실행되도록 하는 데 집중합니다.

‘병목’이란 무엇인가요?

웹사이트나 앱에서 가장 큰 느림을 일으켜 전체 성능을 제한하는 부분입니다.

상세 정보

작성자의 원본 설명

Performance profiling principles. Measurement, analysis, and optimization techniques.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5431
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬